diff options
Diffstat (limited to 'src/views/Health/HardwareStatus/HardwareStatus.vue')
-rw-r--r-- | src/views/Health/HardwareStatus/HardwareStatus.vue | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/views/Health/HardwareStatus/HardwareStatus.vue b/src/views/Health/HardwareStatus/HardwareStatus.vue index 2860e599..4d29a3d9 100644 --- a/src/views/Health/HardwareStatus/HardwareStatus.vue +++ b/src/views/Health/HardwareStatus/HardwareStatus.vue @@ -5,6 +5,9 @@ <!-- System table --> <table-system /> + <!-- DIMM slot table --> + <table-dimm-slot /> + <!-- Power supplies table --> <table-power-supplies /> </b-container> @@ -14,16 +17,20 @@ import PageTitle from '@/components/Global/PageTitle'; import TableSystem from './HardwareStatusTableStystem'; import TablePowerSupplies from './HardwareStatusTablePowerSupplies'; +import TableDimmSlot from './HardwareStatusTableDimmSlot'; import LoadingBarMixin from '@/components/Mixins/LoadingBarMixin'; export default { - components: { PageTitle, TablePowerSupplies, TableSystem }, + components: { PageTitle, TableDimmSlot, TablePowerSupplies, TableSystem }, mixins: [LoadingBarMixin], created() { this.startLoader(); const systemTablePromise = new Promise(resolve => { this.$root.$on('hardwareStatus::system::complete', () => resolve()); }); + const dimmSlotTablePromise = new Promise(resolve => { + this.$root.$on('hardwareStatus::dimmSlot::complete', () => resolve()); + }); const powerSuppliesTablePromise = new Promise(resolve => { this.$root.$on('hardwareStatus::powerSupplies::complete', () => resolve() @@ -31,9 +38,11 @@ export default { }); // Combine all child component Promises to indicate // when page data load complete - Promise.all([systemTablePromise, powerSuppliesTablePromise]).finally(() => - this.endLoader() - ); + Promise.all([ + systemTablePromise, + dimmSlotTablePromise, + powerSuppliesTablePromise + ]).finally(() => this.endLoader()); }, beforeRouteLeave(to, from, next) { // Hide loader if user navigates away from page |