summaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-08-22 17:31:25 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-08-22 17:31:25 +0300
commitca981a5cf99f016be02dddc090c2927dd9997c42 (patch)
treef0a727f0a4482f08b92cd36c542f5eb78f6acd84 /src/store
parenta9cd79d13938dc0e43fd443e3d2deb7367726403 (diff)
downloadwebui-vue-ca981a5cf99f016be02dddc090c2927dd9997c42.tar.xz
SILABMC-271: add max reading as chart max
Diffstat (limited to 'src/store')
-rw-r--r--src/store/modules/HardwareStatus/FanStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/HardwareStatus/FanStore.js b/src/store/modules/HardwareStatus/FanStore.js
index 792c5ad1..9bc84280 100644
--- a/src/store/modules/HardwareStatus/FanStore.js
+++ b/src/store/modules/HardwareStatus/FanStore.js
@@ -77,8 +77,8 @@ const FanStore = {
async getLimits({ commit }) {
return await api
.get('/redfish/v1/Chassis/SILA_Baseboard/Thermal')
- .then(({ data: { Temperatures = [] } }) => {
- commit('setLimits', Temperatures);
+ .then(({ data: { Fans = [] } }) => {
+ commit('setLimits', Fans);
})
.catch((error) => console.log(error));
},