luci-mod-status: fix stray "null" in wifi assoclist status view
authorJo-Philipp Wich <jo@mein.io>
Thu, 7 Nov 2019 07:29:06 +0000 (08:29 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 Nov 2019 07:30:01 +0000 (08:30 +0100)
Fixes: #3272
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 861ec9e82128e151bfeda1a1343323adbddc181b)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js

index 8242711b6aede861288f3c87ddbc60ae191c3db2..f25ba2e46259e101e49508218205aa78ec68fffc 100644 (file)
@@ -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([])
                        ])
                ]);