Skip to content

Commit

Permalink
Adjust non-clickable header to new class
Browse files Browse the repository at this point in the history
  • Loading branch information
jrauh01 committed Jan 15, 2025
1 parent ce895b1 commit 570585b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Kubernetes/Common/BaseItemList.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract class BaseItemList extends BaseHtmlElement
protected iterable $query;

protected array $baseAttributes = [
'class' => 'item-list action-list-kubernetes',
'class' => 'item-list',
'data-base-target' => '_next',
'data-pdfexport-page-breaks-at' => '.list-item'
];
Expand Down Expand Up @@ -78,7 +78,7 @@ protected function assemble(): void
$this->addAttributes($this->baseAttributes);
foreach ($this->query as $item) {
if (! $detailUrlAdded) {
$this->addAttributes(['class' => 'action-list'] + [
$this->addAttributes(['class' => 'action-list-kubernetes'] + [
'data-icinga-detail-url' => Url::fromPath(
'kubernetes/' . str_replace('_', '', $item->getTableAlias())
)
Expand Down

0 comments on commit 570585b

Please sign in to comment.