luci-base: firewall.js: gracefully handle missing uci configuration
authorJo-Philipp Wich <jo@mein.io>
Tue, 28 Apr 2020 07:44:11 +0000 (09:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit49185a307368d68b6c0f169d71635f4bfc278358
tree26c8ccfefcf58efc874e7ae764184d1d72a0474d
parent2d705b273c2fe3e818fb00489e47bec42086a44e
luci-base: firewall.js: gracefully handle missing uci configuration

Ref: https://forum.openwrt.org/t/luci-rpc-error/61760
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a8d85ed71a14c85bbfca0532bb721f5f89a39845)
modules/luci-base/htdocs/luci-static/resources/firewall.js