Skip to content

Commit

Permalink
Fix: "Equal brightness" in LED settings does not work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Oct 6, 2024
1 parent 2659204 commit b5ca2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/views/DeviceAdminView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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));
},
},
});
Expand Down

0 comments on commit b5ca2cf

Please sign in to comment.