Skip to content

Commit

Permalink
#426 Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Sep 21, 2022
1 parent dd15ed7 commit 7da8cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/src/app/core/services/common/AlertService.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default class AlertService {
response => {
self.alerts = response.data;
},
rejection => {
() => {
self.alerts = [];
}
);
Expand All @@ -47,6 +47,6 @@ export default class AlertService {
}

isEmpty() {
return this.alerts.length == 0;
return this.alerts.length === 0;
}
}

0 comments on commit 7da8cd2

Please # to comment.