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/InventoryTableBmcManager.vue b/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue
index ad73f59..48b914f 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue
@@ -7,6 +7,7 @@
:fields="fields"
show-empty
:empty-text="$t('global.table.emptyMessage')"
+ :busy="isBusy"
>
<!-- Expand chevron icon -->
<template #cell(expandRow)="row">
@@ -175,6 +176,7 @@
mixins: [BVToastMixin, TableRowExpandMixin, DataFormatterMixin],
data() {
return {
+ isBusy: true,
fields: [
{
key: 'expandRow',
@@ -221,6 +223,7 @@
this.$store.dispatch('bmc/getBmcInfo').finally(() => {
// Emit initial data fetch complete to parent component
this.$root.$emit('hardware-status-bmc-manager-complete');
+ this.isBusy = false;
});
},
methods: {