mirror of
https://github.com/nasa/openmct.git
synced 2025-01-31 08:25:31 +00:00
Add check for minimized notification (#6431)
This commit is contained in:
parent
6ac7f24c63
commit
eff0cc96b9
@ -415,7 +415,10 @@ export default class NotificationAPI extends EventEmitter {
|
||||
for (; i < this.notifications.length; i++) {
|
||||
notification = this.notifications[i];
|
||||
|
||||
if (!notification.model.minimized
|
||||
const isNotificationMinimized = notification.model.minimized
|
||||
|| notification?.model?.options?.minimized;
|
||||
|
||||
if (!isNotificationMinimized
|
||||
&& notification !== this.activeNotification) {
|
||||
return notification;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user