From b5ca2cfd216b8debf81990eafe28a730df4e48e5 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Sun, 6 Oct 2024 11:39:09 +0200 Subject: [PATCH] Fix: "Equal brightness" in LED settings does not work correctly fixes: #2332 --- webapp/src/views/DeviceAdminView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/views/DeviceAdminView.vue b/webapp/src/views/DeviceAdminView.vue index eafcf902f..258ec5b2c 100644 --- a/webapp/src/views/DeviceAdminView.vue +++ b/webapp/src/views/DeviceAdminView.vue @@ -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)); }, }, });