luci-mod-admin-network: fix VLAN "add" button for empty switches
authorJo-Philipp Wich <jo@mein.io>
Tue, 7 May 2019 06:54:23 +0000 (08:54 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 7 May 2019 06:55:22 +0000 (08:55 +0200)
commit6b7afabcdd270a5215a225553dda08e0cd1c5e40
treed0fb5013b7f4de44d8c671142185571fb3adc68c
parent8648f7e8cea31de61030377ab16aed72f2371a2f
luci-mod-admin-network: fix VLAN "add" button for empty switches

Fixes OpenWrt FS#2270.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2270
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/luasrc/model/cbi/admin_network/vlan.lua