From 7177fbbfe8082bda63b95255509b13a1022085f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Wabik?= <4rafal@gmail.com> Date: Sun, 24 Jul 2022 17:15:26 +0200 Subject: [PATCH] Fix for notifications. --- .../htdocs/luci-static/resources/view/modem/blte.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-modemband/htdocs/luci-static/resources/view/modem/blte.js b/luci-app-modemband/htdocs/luci-static/resources/view/modem/blte.js index c6afc8c7..7f50df83 100644 --- a/luci-app-modemband/htdocs/luci-static/resources/view/modem/blte.js +++ b/luci-app-modemband/htdocs/luci-static/resources/view/modem/blte.js @@ -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'); }