mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-04-02 15:25:48 +02:00
Fix: "Equal brightness" in LED settings does not work correctly
fixes: #2332
This commit is contained in:
@@ -385,7 +385,7 @@ export default defineComponent({
|
||||
return;
|
||||
}
|
||||
const srcId = this.getNumberFromLedId((event.target as Element).id);
|
||||
this.deviceConfigList.led.every((v) => (v.brightness = this.deviceConfigList.led[srcId].brightness));
|
||||
this.deviceConfigList.led.map((v) => (v.brightness = this.deviceConfigList.led[srcId].brightness));
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user