Fix that the user isn't being notified that no events were found for an object
This commit is contained in:
parent
3d7e418032
commit
8477859dc1
|
@ -20,7 +20,7 @@ $hostContext = $object->getType() === 'host';
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?php if (empty($history)): ?>
|
<?php if (count($history) === 0): ?>
|
||||||
<?= $this->translate('No history available for this object'); ?>
|
<?= $this->translate('No history available for this object'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php return; endif ?>
|
<?php return; endif ?>
|
||||||
|
|
Loading…
Reference in New Issue