luci-mod-dashboard: prevent null or undefined 'ifc'
authorPaul Donald <newtwen+github@gmail.com>
Tue, 30 Apr 2024 14:01:26 +0000 (16:01 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Tue, 30 Apr 2024 14:01:26 +0000 (16:01 +0200)
commitfd3d14e9a4a54a2a4fa45d645d5cbbf351a4d5c1
tree824d7a688f32e1167d8e2c7322bbd71a89c9a004
parent0f7ba7b9a204a37673cf38d9d7748747591510d1
luci-mod-dashboard: prevent null or undefined 'ifc'

This can happen on factory fresh settings, or a box not yet connected.

follow-up fix for c75232d8d29ba5a9cc5c07c3fff65248f12f1b08

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/10_router.js