Applying the reviewer's suggestions

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2022-04-30 14:34:22 -03:00
parent f8ab31f431
commit 9a019a64ee
5 changed files with 6 additions and 6 deletions

View File

@@ -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");