diff options
author | Mateusz Gapski <mateuszx.gapski@intel.com> | 2020-07-24 09:15:23 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-07-24 17:25:56 +0300 |
commit | b1f12538599d657f99f6892979fdd0e44e42ce6d (patch) | |
tree | a4f9fe1cb70275db5d74d337e0a0589d227cfd61 /src/views | |
parent | d1988ad57da63fa400754daeb6a818852f630915 (diff) | |
download | webui-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/views')
-rw-r--r-- | src/views/Health/EventLogs/EventLogs.vue | 2 |
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> |