summaryrefslogtreecommitdiff
path: root/src/views/_sila/Overview/Inventory/InventoryTablePowerSupplies.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/_sila/Overview/Inventory/InventoryTablePowerSupplies.vue')
-rw-r--r--src/views/_sila/Overview/Inventory/InventoryTablePowerSupplies.vue17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/views/_sila/Overview/Inventory/InventoryTablePowerSupplies.vue b/src/views/_sila/Overview/Inventory/InventoryTablePowerSupplies.vue
index a55b3e5e..217a4cc3 100644
--- a/src/views/_sila/Overview/Inventory/InventoryTablePowerSupplies.vue
+++ b/src/views/_sila/Overview/Inventory/InventoryTablePowerSupplies.vue
@@ -15,16 +15,11 @@
</b-col>
</b-row>
<b-table
- sort-icon-left
- no-sort-reset
hover
responsive="md"
- sort-by="health"
show-empty
:items="powerSupplies"
:fields="fields"
- :sort-desc="true"
- :sort-compare="sortCompare"
:filter="searchFilter"
:empty-text="$t('global.table.emptyMessage')"
:empty-filtered-text="$t('global.table.emptySearchMessage')"
@@ -120,7 +115,6 @@ import IconChevron from '@carbon/icons-vue/es/chevron--down/20';
import StatusIcon from '@/components/_sila/Global/StatusIcon';
import TableCellCount from '@/components/_sila/Global/TableCellCount';
import DataFormatterMixin from '@/components/_sila/Mixins/DataFormatterMixin';
-import TableSortMixin from '@/components/_sila/Mixins/TableSortMixin';
import Search from '@/components/_sila/Global/Search';
import SearchFilterMixin, {
searchFilter,
@@ -131,12 +125,7 @@ import TableRowExpandMixin, {
export default {
components: { IconChevron, PageSection, StatusIcon, Search, TableCellCount },
- mixins: [
- TableRowExpandMixin,
- DataFormatterMixin,
- TableSortMixin,
- SearchFilterMixin,
- ],
+ mixins: [TableRowExpandMixin, DataFormatterMixin, SearchFilterMixin],
data() {
return {
isBusy: true,
@@ -145,26 +134,22 @@ export default {
key: 'expandRow',
label: '',
tdClass: 'table-row-expand',
- sortable: false,
},
{
key: 'id',
label: this.$t('pageInventory.table.id'),
formatter: this.dataFormatter,
- sortable: true,
},
{
key: 'health',
label: this.$t('pageInventory.table.health'),
formatter: this.dataFormatter,
- sortable: true,
tdClass: 'text-nowrap',
},
{
key: 'locationNumber',
label: this.$t('pageInventory.table.locationNumber'),
formatter: this.dataFormatter,
- sortable: true,
},
{
key: 'identifyLed',