mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Applying the reviewer's suggestions
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -43,7 +43,7 @@ $(function () {
|
||||
},
|
||||
],
|
||||
drawCallback: function () {
|
||||
// Hide buttons if all messages were deleted
|
||||
// Hide buttons if all groups were deleted
|
||||
var hasRows = this.api().rows({ filter: "applied" }).data().length > 0;
|
||||
$(".datatable-bt").css("visibility", hasRows ? "visible" : "hidden");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user