summaryrefslogtreecommitdiff
path: root/src/views/Health/EventLogs
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-06-22 19:14:05 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-07-17 04:09:00 +0300
commit0045400cf52a8ba34d24784d718ae69c3036302e (patch)
treebc0a70cee00fd2ebf4d7b94632bf726aa694fb7f /src/views/Health/EventLogs
parentb93608db49fa40f4e7ad742e4aa285d106caf117 (diff)
downloadwebui-vue-0045400cf52a8ba34d24784d718ae69c3036302e.tar.xz
Refactor global TableFilter component and mixin
Add key property to TableFilter component to make sure filtering is based on specific row property. Previously, the table filter was checking all row properties for matches. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I589886a0d487ac3ab8def585cc7286e61992afdb
Diffstat (limited to 'src/views/Health/EventLogs')
-rw-r--r--src/views/Health/EventLogs/EventLogs.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/views/Health/EventLogs/EventLogs.vue b/src/views/Health/EventLogs/EventLogs.vue
index f1c76164..87dcad5d 100644
--- a/src/views/Health/EventLogs/EventLogs.vue
+++ b/src/views/Health/EventLogs/EventLogs.vue
@@ -218,6 +218,7 @@ export default {
],
tableFilters: [
{
+ key: 'severity',
label: this.$t('pageEventLogs.table.severity'),
values: ['OK', 'Warning', 'Critical']
}