From 43035640ee343de1d94a08ae61b07178e75c31ad Mon Sep 17 00:00:00 2001 From: fujr Date: Thu, 24 Oct 2024 15:24:12 +0800 Subject: [PATCH] Fix typo in qmodem_mwan.sh and update warning message handling in modem_info.htm --- luci/luci-app-qmodem/luasrc/view/qmodem/modem_info.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci/luci-app-qmodem/luasrc/view/qmodem/modem_info.htm b/luci/luci-app-qmodem/luasrc/view/qmodem/modem_info.htm index c535e9d..ff68074 100644 --- a/luci/luci-app-qmodem/luasrc/view/qmodem/modem_info.htm +++ b/luci/luci-app-qmodem/luasrc/view/qmodem/modem_info.htm @@ -333,7 +333,7 @@ class ModemInfo { for (let entry of data){ let class_name,full_name,value,type; class_name = entry.class; - if (type == "warning_message") { + if (entry.type == "warning_message") { warning_message.push(entry); continue; }