HostsController: Check ! $compact as in ServicesContoller

This commit is contained in:
Sukhwinder Dhillon 2023-08-17 11:32:27 +02:00
parent 0e38493d5c
commit 7a3eefbb17

View file

@ -85,7 +85,7 @@ class HostsController extends Controller
$hosts->peekAhead($compact);
$this->filter($hosts, $filter);
if (isset($summary)) {
if (! $compact) {
$this->filter($summary, $filter);
yield $this->export($hosts, $summary);
} else {