summaryrefslogtreecommitdiff
path: root/src/views/HardwareStatus/Inventory/Inventory.vue
diff options
context:
space:
mode:
authorSneha Patel <Snehaben.Patel@ibm.com>2021-09-09 20:40:38 +0300
committerDixsie Wolmers <dixsiew@gmail.com>2021-09-23 16:37:11 +0300
commita02c6f94bd541b07067ac30bab609896b3f6f988 (patch)
tree5e29f169f589609f5c50897c83419eed3755832b /src/views/HardwareStatus/Inventory/Inventory.vue
parentc9cb8d433b7ed5f4d37cd8d946c2593d4d886ce1 (diff)
downloadwebui-vue-a02c6f94bd541b07067ac30bab609896b3f6f988.tar.xz
Add Assemblies schema to Hardware Status - Inventory and LEDs
Signed-off-by: Sneha Patel <Snehaben.Patel@ibm.com> Change-Id: I1a4edae664d008a4f618d03d62e2319d8157ed6d
Diffstat (limited to 'src/views/HardwareStatus/Inventory/Inventory.vue')
-rw-r--r--src/views/HardwareStatus/Inventory/Inventory.vue15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/views/HardwareStatus/Inventory/Inventory.vue b/src/views/HardwareStatus/Inventory/Inventory.vue
index a729aaa2..e3a7ea2f 100644
--- a/src/views/HardwareStatus/Inventory/Inventory.vue
+++ b/src/views/HardwareStatus/Inventory/Inventory.vue
@@ -42,6 +42,9 @@
<!-- Processors table -->
<table-processors ref="processors" />
+
+ <!-- Assembly table -->
+ <table-assembly ref="assembly" />
</b-container>
</template>
@@ -55,6 +58,7 @@ import TableFans from './InventoryTableFans';
import TableBmcManager from './InventoryTableBmcManager';
import TableChassis from './InventoryTableChassis';
import TableProcessors from './InventoryTableProcessors';
+import TableAssembly from './InventoryTableAssembly';
import LoadingBarMixin from '@/components/Mixins/LoadingBarMixin';
import PageSection from '@/components/Global/PageSection';
import JumpLink16 from '@carbon/icons-vue/es/jump-link/16';
@@ -72,6 +76,7 @@ export default {
TableBmcManager,
TableChassis,
TableProcessors,
+ TableAssembly,
PageSection,
JumpLink: JumpLink16,
},
@@ -133,6 +138,12 @@ export default {
href: '#system',
linkText: this.$t('pageInventory.system'),
},
+ {
+ id: 'assembly',
+ dataRef: 'assembly',
+ href: '#assembly',
+ linkText: this.$t('pageInventory.assemblies'),
+ },
],
};
},
@@ -170,6 +181,9 @@ export default {
const systemTablePromise = new Promise((resolve) => {
this.$root.$on('hardware-status-system-complete', () => resolve());
});
+ const assemblyTablePromise = new Promise((resolve) => {
+ this.$root.$on('hardware-status-assembly-complete', () => resolve());
+ });
// Combine all child component Promises to indicate
// when page data load complete
Promise.all([
@@ -181,6 +195,7 @@ export default {
processorsTablePromise,
serviceIndicatorPromise,
systemTablePromise,
+ assemblyTablePromise,
]).finally(() => this.endLoader());
},
};