Resolve custom-event-name-casing lint warnings
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I9eea4eac3b8cacc216fc9ad1011e51622622e75f
diff --git a/src/views/Health/HardwareStatus/HardwareStatus.vue b/src/views/Health/HardwareStatus/HardwareStatus.vue
index 24f0295..0869e28 100644
--- a/src/views/Health/HardwareStatus/HardwareStatus.vue
+++ b/src/views/Health/HardwareStatus/HardwareStatus.vue
@@ -57,27 +57,27 @@
created() {
this.startLoader();
const systemTablePromise = new Promise((resolve) => {
- this.$root.$on('hardwareStatus::system::complete', () => resolve());
+ this.$root.$on('hardware-status-system-complete', () => resolve());
});
const bmcManagerTablePromise = new Promise((resolve) => {
- this.$root.$on('hardwareStatus::bmcManager::complete', () => resolve());
+ this.$root.$on('hardware-status-bmc-manager-complete', () => resolve());
});
const chassisTablePromise = new Promise((resolve) => {
- this.$root.$on('hardwareStatus::chassis::complete', () => resolve());
+ this.$root.$on('hardware-status-chassis-complete', () => resolve());
});
const dimmSlotTablePromise = new Promise((resolve) => {
- this.$root.$on('hardwareStatus::dimmSlot::complete', () => resolve());
+ this.$root.$on('hardware-status-dimm-slot-complete', () => resolve());
});
const fansTablePromise = new Promise((resolve) => {
- this.$root.$on('hardwareStatus::fans::complete', () => resolve());
+ this.$root.$on('hardware-status-fans-complete', () => resolve());
});
const powerSuppliesTablePromise = new Promise((resolve) => {
- this.$root.$on('hardwareStatus::powerSupplies::complete', () =>
+ this.$root.$on('hardware-status-power-supplies-complete', () =>
resolve()
);
});
const processorsTablePromise = new Promise((resolve) => {
- this.$root.$on('hardwareStatus::processors::complete', () => resolve());
+ this.$root.$on('hardware-status-processors-complete', () => resolve());
});
// Combine all child component Promises to indicate
// when page data load complete