Merge pull request #6341 from raenye/dashboard-hide-wireless

luci-mod-dashboard: hide wireless pane when there are no radios
This commit is contained in:
Jo-Philipp Wich 2023-06-05 10:18:42 +02:00 committed by GitHub
commit 55e89d2d7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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([]);
}
});