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 ?>>
|
<div class="content"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||||
<?= $this->form ?>
|
<?= $this->form ?>
|
||||||
|
<?php if ($table->count()): ?>
|
||||||
<?= $this->table->render() ?>
|
<?= $this->table->render() ?>
|
||||||
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue