tactical: Avoid displaying weird empty donuts if nothing is found
refs #3334
This commit is contained in:
parent
3606e5a514
commit
d5686d4a18
|
@ -5,6 +5,10 @@
|
|||
</div>
|
||||
<?php endif ?>
|
||||
<div class="content tactical grid">
|
||||
<?php if (! count(array_filter((array) $statusSummary))): ?>
|
||||
<p><?= $this->translate('No results found matching the filter.') ?></p>
|
||||
</div>
|
||||
<?php return; endif ?>
|
||||
<div class="boxview" data-base-target="_next">
|
||||
<div class="donut-container">
|
||||
<h2><?= $this->translate('Host Summary') ?></h2>
|
||||
|
|
Loading…
Reference in New Issue