From 73b4d438e81f0fe94bbd3d31f45c32d7611aa453 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 7 Nov 2019 08:29:06 +0100 Subject: [PATCH] luci-mod-status: fix stray "null" in wifi assoclist status view Fixes: #3272 Signed-off-by: Jo-Philipp Wich (cherry picked from commit 861ec9e82128e151bfeda1a1343323adbddc181b) --- .../htdocs/luci-static/resources/view/status/include/60_wifi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js index 8242711b6..f25ba2e46 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js @@ -153,7 +153,7 @@ return L.Class.extend({ E('div', { 'class': 'th' }, _('Host')), E('div', { 'class': 'th nowrap' }, '%s / %s'.format(_('Signal'), _('Noise'))), E('div', { 'class': 'th nowrap' }, '%s / %s'.format(_('RX Rate'), _('TX Rate'))), - supports_deauth ? E('div', { 'class': 'th nowrap right' }, _('Disconnect')) : null + supports_deauth ? E('div', { 'class': 'th nowrap right' }, _('Disconnect')) : E([]) ]) ]); -- 2.25.1