From ff48074143e7851e37f4ca55367925891f522769 Mon Sep 17 00:00:00 2001 From: David Tsay Date: Tue, 19 Sep 2023 14:08:11 -0700 Subject: [PATCH] make severity responsive --- .../components/NotificationIndicator.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/notificationIndicator/components/NotificationIndicator.vue b/src/plugins/notificationIndicator/components/NotificationIndicator.vue index 6814917f29..099c2227fb 100644 --- a/src/plugins/notificationIndicator/components/NotificationIndicator.vue +++ b/src/plugins/notificationIndicator/components/NotificationIndicator.vue @@ -58,13 +58,13 @@ export default { data() { return { notifications: this.openmct.notifications.notifications, - highest: this.openmct.notifications.highest, + highestSeverity: this.openmct.notifications.highest.severity, showNotificationsOverlay: false }; }, computed: { severityClass() { - return `s-status-${this.highest.severity}`; + return `s-status-${this.highestSeverity}`; } }, mounted() { @@ -84,7 +84,7 @@ export default { }, updateNotifications() { this.notifications = [...this.openmct.notifications.notifications]; - this.highest = this.openmct.notifications.highest; + this.highestSeverity = this.openmct.notifications.highest.severity; }, notificationsCountMessage(count) { if (count > 1) {