mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
utils: remove duplicate function and convert changeTableButtonStates to vanilla JS
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -115,7 +115,7 @@ function delGroupItems(type, ids, table, listType = undefined) {
|
||||
|
||||
// Clear selection after deletion
|
||||
table.rows().deselect();
|
||||
utils.changeBulkDeleteStates(table);
|
||||
utils.changeTableButtonStates(table);
|
||||
|
||||
// Update number of <type> items in the sidebar
|
||||
updateFtlInfo();
|
||||
|
||||
Reference in New Issue
Block a user