From dca9b0a5baddfec7ea0ea5e4bdb63c2dd0be27b2 Mon Sep 17 00:00:00 2001
From: MichalX Szopinski <michalx.szopinski@intel.com>
Date: Fri, 7 May 2021 13:14:50 +0200
Subject: Remove hardcoded chassis in power supplies

According to our conversation on community meeting we want to remove all hardcoded chassis names in request URL. This change corrects the "Power supplies" table in "Hardware Status" view.

Signed-off-by: MichalX Szopinski <michalx.szopinski@intel.com>
Change-Id: I5219c68b71477adee5f6785c58808eeaa5d35986
---
 src/views/Health/HardwareStatus/HardwareStatusTablePowerSupplies.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/views/Health/HardwareStatus/HardwareStatusTablePowerSupplies.vue')

diff --git a/src/views/Health/HardwareStatus/HardwareStatusTablePowerSupplies.vue b/src/views/Health/HardwareStatus/HardwareStatusTablePowerSupplies.vue
index 3de69198..ba1537b7 100644
--- a/src/views/Health/HardwareStatus/HardwareStatusTablePowerSupplies.vue
+++ b/src/views/Health/HardwareStatus/HardwareStatusTablePowerSupplies.vue
@@ -165,7 +165,7 @@ export default {
     },
   },
   created() {
-    this.$store.dispatch('powerSupply/getPowerSupply').finally(() => {
+    this.$store.dispatch('powerSupply/getAllPowerSupplies').finally(() => {
       // Emit initial data fetch complete to parent component
       this.$root.$emit('hardware-status-power-supplies-complete');
     });
-- 
cgit v1.2.3

