summaryrefslogtreecommitdiff
path: root/src/store/modules/HardwareStatus/PowerSupplyStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/HardwareStatus/PowerSupplyStore.js')
-rw-r--r--src/store/modules/HardwareStatus/PowerSupplyStore.js5
1 files changed, 5 insertions, 0 deletions
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 }) {