From 9726f9a7cb07a3dcee14d641c2fea7b4f013e5fc Mon Sep 17 00:00:00 2001 From: Dixsie Wolmers Date: Tue, 7 Sep 2021 15:33:16 -0500 Subject: Rename TableDataFormatter mixin to DataFormatter Mixin was renamed to reflect usage on all components, not only tables. Signed-off-by: Dixsie Wolmers Change-Id: Ic962ba879fffa39b9f6f93446771fbf6f67915d0 --- .../Inventory/InventoryTableFans.vue | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/views/HardwareStatus/Inventory/InventoryTableFans.vue') diff --git a/src/views/HardwareStatus/Inventory/InventoryTableFans.vue b/src/views/HardwareStatus/Inventory/InventoryTableFans.vue index 8f1003fe..ff568043 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableFans.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableFans.vue @@ -57,34 +57,34 @@
{{ $t('pageInventory.table.name') }}:
-
{{ tableFormatter(item.name) }}
+
{{ dataFormatter(item.name) }}
{{ $t('pageInventory.table.serialNumber') }}:
-
{{ tableFormatter(item.serialNumber) }}
+
{{ dataFormatter(item.serialNumber) }}
{{ $t('pageInventory.table.partNumber') }}:
-
{{ tableFormatter(item.partNumber) }}
+
{{ dataFormatter(item.partNumber) }}
{{ $t('pageInventory.table.fanSpeed') }}:
-
{{ tableFormatter(item.speed) }}
+
{{ dataFormatter(item.speed) }}
{{ $t('pageInventory.table.statusState') }}:
-
{{ tableFormatter(item.statusState) }}
+
{{ dataFormatter(item.statusState) }}
{{ $t('pageInventory.table.statusHealthRollup') }}:
-
{{ tableFormatter(item.healthRollup) }}
+
{{ dataFormatter(item.healthRollup) }}
@@ -100,7 +100,7 @@ import IconChevron from '@carbon/icons-vue/es/chevron--down/20'; import TableCellCount from '@/components/Global/TableCellCount'; import StatusIcon from '@/components/Global/StatusIcon'; -import TableDataFormatterMixin from '@/components/Mixins/TableDataFormatterMixin'; +import DataFormatterMixin from '@/components/Mixins/DataFormatterMixin'; import TableSortMixin from '@/components/Mixins/TableSortMixin'; import Search from '@/components/Global/Search'; import SearchFilterMixin, { @@ -114,7 +114,7 @@ export default { components: { IconChevron, PageSection, StatusIcon, Search, TableCellCount }, mixins: [ TableRowExpandMixin, - TableDataFormatterMixin, + DataFormatterMixin, TableSortMixin, SearchFilterMixin, ], @@ -130,26 +130,26 @@ export default { { key: 'id', label: this.$t('pageInventory.table.id'), - formatter: this.tableFormatter, + formatter: this.dataFormatter, sortable: true, }, { key: 'health', label: this.$t('pageInventory.table.health'), - formatter: this.tableFormatter, + formatter: this.dataFormatter, sortable: true, tdClass: 'text-nowrap', }, { key: 'partNumber', label: this.$t('pageInventory.table.partNumber'), - formatter: this.tableFormatter, + formatter: this.dataFormatter, sortable: true, }, { key: 'serialNumber', label: this.$t('pageInventory.table.serialNumber'), - formatter: this.tableFormatter, + formatter: this.dataFormatter, }, ], searchFilter: searchFilter, -- cgit v1.2.3