Skip to content

Commit

Permalink
Fix for notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
4IceG authored Jul 24, 2022
1 parent cb0d6ca commit 7177fbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function handleAction(ev) {
return uci.load('modemband').then(function() {
var nuser = (uci.get('modemband', '@modemband[0]', 'notify'));

if (nuser == '0') {
if ( nuser != '1' || nuser == null ) {
ui.addNotification(null, E('p', _('The new bands settings have been sent to the modem. If the changes are not visible, a restart of the connection, modem or router may be required.')), 'info');
}

Expand Down

0 comments on commit 7177fbb

Please sign in to comment.