diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-06-22 19:14:05 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-07-17 04:09:00 +0300 |
commit | 0045400cf52a8ba34d24784d718ae69c3036302e (patch) | |
tree | bc0a70cee00fd2ebf4d7b94632bf726aa694fb7f /src/views/Health/Sensors/Sensors.vue | |
parent | b93608db49fa40f4e7ad742e4aa285d106caf117 (diff) | |
download | webui-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/Sensors/Sensors.vue')
-rw-r--r-- | src/views/Health/Sensors/Sensors.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/views/Health/Sensors/Sensors.vue b/src/views/Health/Sensors/Sensors.vue index 879e2363..7ff5e64c 100644 --- a/src/views/Health/Sensors/Sensors.vue +++ b/src/views/Health/Sensors/Sensors.vue @@ -159,6 +159,7 @@ export default { ], tableFilters: [ { + key: 'status', label: this.$t('pageSensors.table.status'), values: ['OK', 'Warning', 'Critical'] } |