Skip to content

Commit 01268b1

Browse files
committed
fix: NotificationService does not remove references to closed notifications
1 parent 48251cf commit 01268b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notification/notification.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class NotificationService implements OnDestroy {
145145
this.applicationRef.detachView(notificationRef.hostView);
146146
notificationRef.destroy();
147147
const index = this.notificationRefs.indexOf(notificationRef);
148-
if (index != -1) {
148+
if (index !== -1) {
149149
this.notificationRefs.splice(index, 1);
150150
}
151151
}, 200);

0 commit comments

Comments
 (0)