luci-app-usteer: Fix no wireless defined setup
authorMiguel Angel Mulero Martinez <migmul@gmail.com>
Tue, 13 Feb 2024 11:25:48 +0000 (12:25 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 15 Feb 2024 00:25:54 +0000 (01:25 +0100)
commit5c08e310268197a35d9b2718c47bf27ebe6e78d9
tree5555c05bfd526574321e676796587b310babe7d8
parent697ab0eafdc461c8f5a242bacb629b407b1c0698
luci-app-usteer: Fix no wireless defined setup

Some users use the usteer app in a "non wireless" device. With the current code it crashes because there is no SSID defined. Making the ui element a DynamicList fixes the issue because it allows free text input.

Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
(cherry picked from commit ac8cf93a015a3eeb960ef216e59dde643bf059ed)
applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js