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
diff --git a/src/views/HardwareStatus/Sensors/Sensors.vue b/src/views/HardwareStatus/Sensors/Sensors.vue
index c69532a..15cecff 100644
--- a/src/views/HardwareStatus/Sensors/Sensors.vue
+++ b/src/views/HardwareStatus/Sensors/Sensors.vue
@@ -115,7 +115,7 @@
} 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 @@
TableFilterMixin,
BVTableSelectableMixin,
LoadingBarMixin,
- TableDataFormatterMixin,
+ DataFormatterMixin,
TableSortMixin,
SearchFilterMixin,
],
@@ -165,28 +165,28 @@
},
{
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'),
},
],