summaryrefslogtreecommitdiff
path: root/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-27 16:29:34 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-27 16:29:34 +0300
commit32453c4cab3f88949a029b2d9c8b50ca7ac683bc (patch)
tree2becde89ae1f060c3de729449729de2baa44a8c4 /src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue
parente5ef39d44b0d4147b89c753f3a35121bdd0b8c25 (diff)
downloadwebui-vue-32453c4cab3f88949a029b2d9c8b50ca7ac683bc.tar.xz
upd store logic, dynamic
Diffstat (limited to 'src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue')
-rw-r--r--src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue
index f0dd97e7..35355edb 100644
--- a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue
+++ b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue
@@ -127,7 +127,9 @@ export default {
},
allSensors() {
- return this.$store.getters['motherboard/motherboard'];
+ return this.timeScale === 'hour'
+ ? this.$store.getters['motherboard/motherboardLastHour']
+ : this.$store.getters['motherboard/motherboard'];
},
filteredSensors() {