summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMateusz Gapski <mateuszx.gapski@intel.com>2020-07-24 09:15:23 +0300
committerDerick Montague <derick.montague@ibm.com>2020-07-24 17:25:56 +0300
commitb1f12538599d657f99f6892979fdd0e44e42ce6d (patch)
treea4f9fe1cb70275db5d74d337e0a0589d227cfd61 /src
parentd1988ad57da63fa400754daeb6a818852f630915 (diff)
downloadwebui-vue-b1f12538599d657f99f6892979fdd0e44e42ce6d.tar.xz
Hide status icon if severity is empty
Status icon was hidden if severity is empty on events log page More details: https://github.com/openbmc/webui-vue/issues/16 Signed-off-by: Mateusz Gapski <mateuszx.gapski@intel.com> Change-Id: I905b30dfbb71bed8a0874e9fb38ff40c301477e9
Diffstat (limited to 'src')
-rw-r--r--src/views/Health/EventLogs/EventLogs.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Health/EventLogs/EventLogs.vue b/src/views/Health/EventLogs/EventLogs.vue
index 488efcab..d4bfc6fd 100644
--- a/src/views/Health/EventLogs/EventLogs.vue
+++ b/src/views/Health/EventLogs/EventLogs.vue
@@ -77,7 +77,7 @@
<!-- Severity column -->
<template v-slot:cell(severity)="{ value }">
- <status-icon :status="statusIcon(value)" />
+ <status-icon v-if="value" :status="statusIcon(value)" />
{{ value }}
</template>