Battery Settings: fix initial buffer start options (#19123)

This commit is contained in:
Michael Geers 2025-02-23 22:32:21 +01:00 • committed by GitHub
parent 0c5954d700
commit 4c73f18270
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -329,7 +329,7 @@ export default {
},
bufferStartOptions() {
const options = [];
for (let i = 100; i >= this.bufferSoc; i -= 5) {
for (let i = 100; i >= this.selectedBufferSoc; i -= 5) {
options.push({
value: i,
name: this.getBufferStartName(i),