From 5402a40888eff0b1aca13ab87fc26907e96cd01d Mon Sep 17 00:00:00 2001 From: David Tsay Date: Thu, 28 Sep 2023 11:32:23 -0700 Subject: [PATCH] `notification` event is only for the active noti --- .../notificationIndicator/components/NotificationIndicator.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/notificationIndicator/components/NotificationIndicator.vue b/src/plugins/notificationIndicator/components/NotificationIndicator.vue index 507649adfb..c95f1f8f93 100644 --- a/src/plugins/notificationIndicator/components/NotificationIndicator.vue +++ b/src/plugins/notificationIndicator/components/NotificationIndicator.vue @@ -69,12 +69,10 @@ export default { } }, mounted() { - this.openmct.notifications.on('notification', this.updateNotifications); this.openmct.notifications.on('add', this.updateNotifications); this.openmct.notifications.on('dismiss-all', this.updateNotifications); }, unmounted() { - this.openmct.notifications.off('notification', this.updateNotifications); this.openmct.notifications.off('add', this.updateNotifications); this.openmct.notifications.off('dismiss-all', this.updateNotifications); },