luci-mod-status: fix wrong logic for maclist adding feature 5374/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Sat, 18 Sep 2021 14:25:23 +0000 (16:25 +0200)
committerAnsuel Smith <ansuelsmth@gmail.com>
Sat, 18 Sep 2021 14:27:00 +0000 (16:27 +0200)
commit085c4a08f5bf50919731304a962cfcd2b592d523
tree1a8c27e4cc1958048d15c2e96bea097343ac8ab7
parent2a97d5533cba419f51da0b550b00a34bc9f50cce
luci-mod-status: fix wrong logic for maclist adding feature

Currently any new entry added to the black/whitelist deletes the
others. Fix this and improve the rule apply by firstly disconnect
the wifi client.

Fixes: #5343
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js