diff options
Diffstat (limited to 'src/store/modules/Logs')
-rw-r--r-- | src/store/modules/Logs/EventLogStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/Logs/EventLogStore.js b/src/store/modules/Logs/EventLogStore.js index d67d6959..a22935a7 100644 --- a/src/store/modules/Logs/EventLogStore.js +++ b/src/store/modules/Logs/EventLogStore.js @@ -4,10 +4,10 @@ import i18n from '@/i18n'; const getHealthStatus = (events, loadedEvents) => { let status = loadedEvents ? 'OK' : ''; for (const event of events) { - if (event.severity === 'Warning') { + if (!event.status && event.severity === 'Warning') { status = 'Warning'; } - if (event.severity === 'Critical') { + if (!event.status && event.severity === 'Critical') { status = 'Critical'; break; } |