summaryrefslogtreecommitdiff
path: root/src/views/Fans/StaticInformation/FansStaticPage.vue
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-04 12:01:39 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-04 12:01:39 +0300
commitc8d25fd2b9ecb1395fa086a727d238489d568908 (patch)
tree3410499e78d3f1ce3225bca17f4903de4ee14f86 /src/views/Fans/StaticInformation/FansStaticPage.vue
parenta1609142e4f59a1e731ab6472792d3cfe6014f40 (diff)
downloadwebui-vue-template-bugs.tar.xz
fixs for cash of sensorstemplate-bugs
Diffstat (limited to 'src/views/Fans/StaticInformation/FansStaticPage.vue')
-rw-r--r--src/views/Fans/StaticInformation/FansStaticPage.vue6
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
);
},