From d73691017fb93ca023f04684edc1cc08ecdb9a73 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Tue, 12 Sep 2023 11:23:29 +0200 Subject: [PATCH] (Hosts/Services)Controller: Do not make object list in detail view controls an `.action-list` --- application/controllers/HostsController.php | 1 + application/controllers/ServicesController.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/controllers/HostsController.php b/application/controllers/HostsController.php index 36774b3c..fff7139a 100644 --- a/application/controllers/HostsController.php +++ b/application/controllers/HostsController.php @@ -168,6 +168,7 @@ class HostsController extends Controller $this->addControl( (new HostList($results)) ->setViewMode('minimal') + ->setDetailActionsDisabled() ); $this->addControl(new ShowMore( $results, diff --git a/application/controllers/ServicesController.php b/application/controllers/ServicesController.php index 69d02f39..c39f8b5d 100644 --- a/application/controllers/ServicesController.php +++ b/application/controllers/ServicesController.php @@ -184,6 +184,7 @@ class ServicesController extends Controller $this->addControl( (new ServiceList($results)) ->setViewMode('minimal') + ->setDetailActionsDisabled() ); $this->addControl(new ShowMore( $results,