diff options
Diffstat (limited to 'src/views/_sila/Motherboard')
-rw-r--r-- | src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue index 6d4c15b7..610af549 100644 --- a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue +++ b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue @@ -48,6 +48,7 @@ :colors="colors" :data="filteredSensors" :warning="warningLimit" + :max="maxLimit" ></chart> <b-table responsive="md" @@ -183,6 +184,12 @@ export default { })?.UpperThresholdNonCritical; }, + maxLimit() { + return this.limits.find((limit) => { + return limit?.MaxReadingRangeTemp; + })?.MaxReadingRangeTemp; + }, + allSensors() { return this.timeScale === 'hour' ? this.$store.getters['motherboard/motherboardLastHour'] |