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 class="content">
|
||||
<?php if (empty($history)): ?>
|
||||
<?php if (count($history) === 0): ?>
|
||||
<?= $this->translate('No history available for this object'); ?>
|
||||
</div>
|
||||
<?php return; endif ?>
|
||||
|
|
Loading…
Reference in New Issue