summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js
index f48622fd66..318c3abf87 100644
--- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js
+++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js
@@ -262,6 +262,8 @@ return baseclass.extend({
this.renderUpdateData(data[0], data[1], data[2]);
- return this.renderHtml();
+ if (this.params.wifi.radios.length)
+ return this.renderHtml();
+ return E([]);
}
});