UI: apply 5% floor to vehicle limit slider (#32462)
This commit is contained in:
parent
43349e43fb
commit
6fd2947509
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ export default defineComponent({
|
|||
movedLimitSoc(e: Event) {
|
||||
const value = parseInt((e.target as HTMLInputElement).value, 10);
|
||||
e.stopPropagation();
|
||||
const minLimit = this.heating ? this.lowerBound : 20;
|
||||
const minLimit = this.heating ? this.lowerBound : 5;
|
||||
if (value < minLimit) {
|
||||
(e.target as HTMLInputElement).value = minLimit.toString();
|
||||
this.selectedLimitSoc = value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue