Skip to content

Commit

Permalink
(Hosts/Services)Controller: Do not make object list in detail view co…
Browse files Browse the repository at this point in the history
…ntrols an `.action-list`
  • Loading branch information
sukhwinder33445 committed Sep 12, 2023
1 parent db363cf commit 52c7773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/HostsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public function detailsAction()
$this->addControl(
(new HostList($results))
->setViewMode('minimal')
->setDetailActionsDisabled()
);
$this->addControl(new ShowMore(
$results,
Expand Down
1 change: 1 addition & 0 deletions application/controllers/ServicesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ public function detailsAction()
$this->addControl(
(new ServiceList($results))
->setViewMode('minimal')
->setDetailActionsDisabled()
);
$this->addControl(new ShowMore(
$results,
Expand Down

0 comments on commit 52c7773

Please sign in to comment.