Merge pull request #4641 from Ansuel/wifistat

luci-mod-status: fix WPS button to wrong interface
This commit is contained in:
Jo-Philipp Wich 2020-12-06 00:39:45 +01:00 committed by GitHub
commit e984b63c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ return baseclass.extend({
else
icon = L.resource('icons/signal-75-100.png');
var WPS_button;
var WPS_button = null;
if (this.isWPSEnabled[net.sid]) {
if (net.wps_status == 'Active') {