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>
Wed, 14 Feb 2024 22:23:08 +0000 (23:23 +0100)
commit4643491b6542660fb6b22bd9f3c9bd5aacfac4cb
tree182831c8897d0e978c092f0cc93e96ad881456d1
parent0a049a6f3a938c94c1019b7af11a203dd53d62ff
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