From 0444ab4658743504ddf12ddf911158aebf9037ae Mon Sep 17 00:00:00 2001 From: Vitalii Lysak Date: Tue, 30 Aug 2022 10:29:09 +0300 Subject: upd power, dynamic --- src/store/modules/HardwareStatus/PowerSupplyStore.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/store/modules/HardwareStatus') diff --git a/src/store/modules/HardwareStatus/PowerSupplyStore.js b/src/store/modules/HardwareStatus/PowerSupplyStore.js index e70d8dd0..7ff2909d 100644 --- a/src/store/modules/HardwareStatus/PowerSupplyStore.js +++ b/src/store/modules/HardwareStatus/PowerSupplyStore.js @@ -15,6 +15,7 @@ const PowerSupplyStore = { powerSupplies: [], limitsTemp: [], limitsVol: [], + isLoadingVol: false, }, getters: { powerSupplies: (state) => state.powerSupplies, @@ -28,6 +29,7 @@ const PowerSupplyStore = { psuCurrentLastHour: (state) => state.psuCurrentLastHour, limitsTemp: (state) => state.limitsTemp, limitsVol: (state) => state.limitsVol, + isLoadingVol: (state) => state.isLoadingVol, }, mutations: { setPowerSupply: (state, data) => { @@ -95,6 +97,9 @@ const PowerSupplyStore = { setLimitsVol: (state, data) => { state.limitsVol = data; }, + setIsLoadingVol: (state, data) => { + state.isLoadingVol = data; + }, }, actions: { async patchLimitsTemp({ dispatch }, { warning, critical, groups }) { -- cgit v1.2.3