Skip to content
Commit 4b6b0092 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-mod-network: properly reflect config state in sysfs tristates



When a boolean sysfs option is forcibly set to `0` or `1` in uci, then make
sure to properly reflect that choice state when rendering the widget.

Right now the dropdown incorrectly reverted to "automatic" after saving but
not applying the changes.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 6bdc5771
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