diff --git a/www/src/app/core/services/common/AlertService.js b/www/src/app/core/services/common/AlertService.js index 170fa0c32..9444a25ae 100644 --- a/www/src/app/core/services/common/AlertService.js +++ b/www/src/app/core/services/common/AlertService.js @@ -32,7 +32,7 @@ export default class AlertService { response => { self.alerts = response.data; }, - rejection => { + () => { self.alerts = []; } ); @@ -47,6 +47,6 @@ export default class AlertService { } isEmpty() { - return this.alerts.length == 0; + return this.alerts.length === 0; } } \ No newline at end of file