From a02c6f94bd541b07067ac30bab609896b3f6f988 Mon Sep 17 00:00:00 2001 From: Sneha Patel Date: Thu, 9 Sep 2021 12:40:38 -0500 Subject: Add Assemblies schema to Hardware Status - Inventory and LEDs Signed-off-by: Sneha Patel Change-Id: I1a4edae664d008a4f618d03d62e2319d8157ed6d --- src/views/HardwareStatus/Inventory/Inventory.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/views/HardwareStatus/Inventory/Inventory.vue') 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 @@ + + + @@ -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()); }, }; -- cgit v1.2.3