summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-07 08:29:06 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-07 08:29:35 +0100
commit861ec9e82128e151bfeda1a1343323adbddc181b (patch)
tree8b4aad1df7ea67dd63eae3b1d8637bdbb283a628 /modules/luci-mod-status
parent8c9ee394b3a87cc372ccac9ca27167ece8132be9 (diff)
luci-mod-status: fix stray "null" in wifi assoclist status view
Fixes: #3272 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js2
1 files changed, 1 insertions, 1 deletions
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([])
])
]);