Skip to content
Commit 45b56e85 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-mod-system: leds.js: fix handling device option



Since the modal overlay map was unable to read the current trigger value,
it mistakingly allowed the removal of the device option value.

Fix it by finding the option object through lookupOption() instead of
relying on a reference.

Fixes: #3216
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 254503dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment