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 61212dd commit cb0d6ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ return view.extend({

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 cb0d6ca

Please sign in to comment.