From b2ebca4c0bc60f642cad7a920055527621941732 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 26 Sep 2024 13:22:52 +0200 Subject: [PATCH] Disable `action-list` for containers Multiple action lists in a single view does not seem to work. --- library/Kubernetes/Web/ContainerList.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/library/Kubernetes/Web/ContainerList.php b/library/Kubernetes/Web/ContainerList.php index 432c86fc..c8242e13 100644 --- a/library/Kubernetes/Web/ContainerList.php +++ b/library/Kubernetes/Web/ContainerList.php @@ -8,6 +8,18 @@ class ContainerList extends BaseItemList { + /** + * Copied from {@see BaseItemList::$baseAttributes} but removed `action-list` as + * multiple action lists in a single view does not seem to work. + * + * @var array + */ + protected array $baseAttributes = [ + 'class' => 'item-list', + 'data-base-target' => '_next', + 'data-pdfexport-page-breaks-at' => '.list-item' + ]; + protected $defaultAttributes = ['class' => 'container-list']; protected function getItemClass(): string