diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-30 10:29:09 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-30 10:29:09 +0300 |
commit | 0444ab4658743504ddf12ddf911158aebf9037ae (patch) | |
tree | 137a99ea1286de38ab0670d61f4a284dbbd0b94b /src/store | |
parent | dc6694fc5801f0cf7d81b07380c043a1672e34e6 (diff) | |
download | webui-vue-0444ab4658743504ddf12ddf911158aebf9037ae.tar.xz |
upd power, dynamic
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/modules/HardwareStatus/PowerSupplyStore.js | 5 |
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 }) { |