commit | b1f12538599d657f99f6892979fdd0e44e42ce6d | [log] [tgz] |
---|---|---|
author | Mateusz Gapski <mateuszx.gapski@intel.com> | Fri Jul 24 08:15:23 2020 +0200 |
committer | Derick Montague <derick.montague@ibm.com> | Fri Jul 24 14:25:56 2020 +0000 |
tree | a4f9fe1cb70275db5d74d337e0a0589d227cfd61 | |
parent | d1988ad57da63fa400754daeb6a818852f630915 [diff] |
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
diff --git a/src/views/Health/EventLogs/EventLogs.vue b/src/views/Health/EventLogs/EventLogs.vue index 488efca..d4bfc6f 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>