summaryrefslogtreecommitdiff
path: root/src/views/_sila/Processors/Dynamic/CpuTemp.vue
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-08-30 10:29:09 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-08-30 10:29:09 +0300
commit0444ab4658743504ddf12ddf911158aebf9037ae (patch)
tree137a99ea1286de38ab0670d61f4a284dbbd0b94b /src/views/_sila/Processors/Dynamic/CpuTemp.vue
parentdc6694fc5801f0cf7d81b07380c043a1672e34e6 (diff)
downloadwebui-vue-0444ab4658743504ddf12ddf911158aebf9037ae.tar.xz
upd power, dynamic
Diffstat (limited to 'src/views/_sila/Processors/Dynamic/CpuTemp.vue')
-rw-r--r--src/views/_sila/Processors/Dynamic/CpuTemp.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/views/_sila/Processors/Dynamic/CpuTemp.vue b/src/views/_sila/Processors/Dynamic/CpuTemp.vue
index 9f2d60fa..8946bedd 100644
--- a/src/views/_sila/Processors/Dynamic/CpuTemp.vue
+++ b/src/views/_sila/Processors/Dynamic/CpuTemp.vue
@@ -253,6 +253,13 @@ export default {
},
watch: {
+ limits() {
+ if (this.limits && this.limits.length > 0) {
+ this.warning = this.warningLimit;
+ this.critical = this.criticalLimit;
+ }
+ },
+
timeScale() {
if (!this.opened) {
return;