list/table: do not render empty tables
This commit is contained in:
parent
61ff51c52b
commit
56bc31ce97
|
@ -10,5 +10,7 @@
|
|||
|
||||
<div class="content"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<?= $this->form ?>
|
||||
<?php if ($table->count()): ?>
|
||||
<?= $this->table->render() ?>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue