Set table busy state on load
- Add busy prop to tables
Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com>
Change-Id: I4416f12967c9a0ad6c8bb782c7d8de5c17fdd195
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
index 73be06b..6599481 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
@@ -28,6 +28,7 @@
:filter="searchFilter"
:empty-text="$t('global.table.emptyMessage')"
:empty-filtered-text="$t('global.table.emptySearchMessage')"
+ :busy="isBusy"
@filtered="onFiltered"
>
<!-- Expand chevron icon -->
@@ -181,6 +182,7 @@
],
data() {
return {
+ isBusy: true,
fields: [
{
key: 'expandRow',
@@ -228,6 +230,7 @@
this.$store.dispatch('memory/getDimms').finally(() => {
// Emit initial data fetch complete to parent component
this.$root.$emit('hardware-status-dimm-slot-complete');
+ this.isBusy = false;
});
},
methods: {