Skip to content

Commit 9f1dd90

Browse files
authored
Hide select all checkbox when there are no records (#1369)
Fixes #1365
1 parent 57594e6 commit 9f1dd90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/backend/widgets/lists/partials/_list_head_row.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<tr>
2-
<?php if ($showCheckboxes): ?>
2+
<?php if ($showCheckboxes && count($records)): ?>
33
<th class="list-checkbox">
44
<div class="checkbox custom-checkbox nolabel">
55
<input type="checkbox" id="<?= $this->getId('checkboxAll') ?>" />

0 commit comments

Comments
 (0)