Skip to content

Commit

Permalink
Disable action-list for containers
Browse files Browse the repository at this point in the history
Multiple action lists in a single view does not seem to work.
  • Loading branch information
lippserd committed Sep 26, 2024
1 parent c838176 commit b2ebca4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions library/Kubernetes/Web/ContainerList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2ebca4

Please sign in to comment.