mirror of
https://github.com/nasa/openmct.git
synced 2025-04-12 05:40:17 +00:00
notification
event is only for the active noti
This commit is contained in:
parent
7a0bc7a15b
commit
5402a40888
@ -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);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user