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/Inventory/InventoryTableDimmSlot.vue | |
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/Inventory/InventoryTableDimmSlot.vue')
-rw-r--r-- | src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue index ed370b53..5d8db83c 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue @@ -57,7 +57,7 @@ <dl> <!-- Status state --> <dt>{{ $t('pageInventory.table.statusState') }}:</dt> - <dd>{{ tableFormatter(item.statusState) }}</dd> + <dd>{{ dataFormatter(item.statusState) }}</dd> </dl> </b-col> </b-row> @@ -74,7 +74,7 @@ import IconChevron from '@carbon/icons-vue/es/chevron--down/20'; import StatusIcon from '@/components/Global/StatusIcon'; import TableCellCount from '@/components/Global/TableCellCount'; -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, { @@ -88,7 +88,7 @@ export default { components: { IconChevron, PageSection, StatusIcon, Search, TableCellCount }, mixins: [ TableRowExpandMixin, - TableDataFormatterMixin, + DataFormatterMixin, TableSortMixin, SearchFilterMixin, ], @@ -104,26 +104,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, sortable: true, }, ], |