diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-23 14:56:52 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-23 14:56:52 +0300 |
commit | ab2437b81c6b413dd0e3d2107508f53ea291039a (patch) | |
tree | 5fe7720a97d557f9282cab464c0e4f3e3e5b3ac8 /src/views/_sila/Processors/Dynamic/CpuTemp.vue | |
parent | e44325e7c9e7b5c67b0cf7bb366cabc4fde60628 (diff) | |
download | webui-vue-ab2437b81c6b413dd0e3d2107508f53ea291039a.tar.xz |
upd validation for dynamic pages
Diffstat (limited to 'src/views/_sila/Processors/Dynamic/CpuTemp.vue')
-rw-r--r-- | src/views/_sila/Processors/Dynamic/CpuTemp.vue | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/views/_sila/Processors/Dynamic/CpuTemp.vue b/src/views/_sila/Processors/Dynamic/CpuTemp.vue index 0f90341b..f4e9a49f 100644 --- a/src/views/_sila/Processors/Dynamic/CpuTemp.vue +++ b/src/views/_sila/Processors/Dynamic/CpuTemp.vue @@ -16,8 +16,6 @@ v-model.number="warning" :disabled="$store.getters['authentication/role'] === 'ReadOnly'" type="number" - :min="1" - :max="critical" :state="getValidationState($v.warning)" @blur="$v.warning.$touch()" > @@ -38,8 +36,6 @@ v-model.number="critical" :disabled="$store.getters['authentication/role'] === 'ReadOnly'" type="number" - :min="warning" - :max="100" :state="getValidationState($v.critical)" @blur="$v.critical.$touch()" > @@ -193,7 +189,7 @@ export default { }, critical: { required, - between: between(this.warning, 100), + between: between(this.warning, this.maxLimit), }, }; }, |