diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-04 12:01:39 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-04 12:01:39 +0300 |
commit | c8d25fd2b9ecb1395fa086a727d238489d568908 (patch) | |
tree | 3410499e78d3f1ce3225bca17f4903de4ee14f86 /src/views/Fans | |
parent | a1609142e4f59a1e731ab6472792d3cfe6014f40 (diff) | |
download | webui-vue-c8d25fd2b9ecb1395fa086a727d238489d568908.tar.xz |
fixs for cash of sensorstemplate-bugs
Diffstat (limited to 'src/views/Fans')
-rw-r--r-- | src/views/Fans/StaticInformation/FansStaticPage.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/Fans/StaticInformation/FansStaticPage.vue b/src/views/Fans/StaticInformation/FansStaticPage.vue index 56a5c183..a9f2d68b 100644 --- a/src/views/Fans/StaticInformation/FansStaticPage.vue +++ b/src/views/Fans/StaticInformation/FansStaticPage.vue @@ -115,7 +115,7 @@ export default { computed: { allSensors() { - let sensors = this.$store.getters['sensors/sensors']; + let sensors = this.$store.getters['sensors/fanSensors']; if (this.isSensorsExist) { sensors.forEach((sensor) => { sensor.type = sensor.name.toLowerCase().includes('cpu') @@ -128,8 +128,8 @@ export default { isSensorsExist() { return ( - this.$store.getters['sensors/sensors'] && - this.$store.getters['sensors/sensors'].length > 0 + this.$store.getters['sensors/fanSensors'] && + this.$store.getters['sensors/fanSensors'].length > 0 ); }, |