We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48251cf commit 01268b1Copy full SHA for 01268b1
src/notification/notification.service.ts
@@ -145,7 +145,7 @@ export class NotificationService implements OnDestroy {
145
this.applicationRef.detachView(notificationRef.hostView);
146
notificationRef.destroy();
147
const index = this.notificationRefs.indexOf(notificationRef);
148
- if (index != -1) {
+ if (index !== -1) {
149
this.notificationRefs.splice(index, 1);
150
}
151
}, 200);
0 commit comments