diff options
author | Dixsie Wolmers <dixsie@ibm.com> | 2021-09-07 23:33:16 +0300 |
---|---|---|
committer | Dixsie Wolmers <dixsie@ibm.com> | 2021-09-24 22:59:31 +0300 |
commit | 9726f9a7cb07a3dcee14d641c2fea7b4f013e5fc (patch) | |
tree | eb2b4ac5a53c8354324ec4cada6c2fbe00324811 /src/views/HardwareStatus/Sensors | |
parent | 6a192d526c9efebf7a614a9aa473eee62e555fc5 (diff) | |
download | webui-vue-9726f9a7cb07a3dcee14d641c2fea7b4f013e5fc.tar.xz |
Rename TableDataFormatter mixin to DataFormatter
Mixin was renamed to reflect usage on all components,
not only tables.
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com>
Change-Id: Ic962ba879fffa39b9f6f93446771fbf6f67915d0
Diffstat (limited to 'src/views/HardwareStatus/Sensors')
-rw-r--r-- | src/views/HardwareStatus/Sensors/Sensors.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/views/HardwareStatus/Sensors/Sensors.vue b/src/views/HardwareStatus/Sensors/Sensors.vue index c69532a6..15cecfff 100644 --- a/src/views/HardwareStatus/Sensors/Sensors.vue +++ b/src/views/HardwareStatus/Sensors/Sensors.vue @@ -115,7 +115,7 @@ import BVTableSelectableMixin, { } from '@/components/Mixins/BVTableSelectableMixin'; import LoadingBarMixin from '@/components/Mixins/LoadingBarMixin'; import TableFilterMixin from '@/components/Mixins/TableFilterMixin'; -import TableDataFormatterMixin from '@/components/Mixins/TableDataFormatterMixin'; +import DataFormatterMixin from '@/components/Mixins/DataFormatterMixin'; import TableSortMixin from '@/components/Mixins/TableSortMixin'; import SearchFilterMixin, { searchFilter, @@ -136,7 +136,7 @@ export default { TableFilterMixin, BVTableSelectableMixin, LoadingBarMixin, - TableDataFormatterMixin, + DataFormatterMixin, TableSortMixin, SearchFilterMixin, ], @@ -165,28 +165,28 @@ export default { }, { key: 'lowerCritical', - formatter: this.tableFormatter, + formatter: this.dataFormatter, label: this.$t('pageSensors.table.lowerCritical'), }, { key: 'lowerCaution', - formatter: this.tableFormatter, + formatter: this.dataFormatter, label: this.$t('pageSensors.table.lowerWarning'), }, { key: 'currentValue', - formatter: this.tableFormatter, + formatter: this.dataFormatter, label: this.$t('pageSensors.table.currentValue'), }, { key: 'upperCaution', - formatter: this.tableFormatter, + formatter: this.dataFormatter, label: this.$t('pageSensors.table.upperWarning'), }, { key: 'upperCritical', - formatter: this.tableFormatter, + formatter: this.dataFormatter, label: this.$t('pageSensors.table.upperCritical'), }, ], |