Skip to content

Commit f788565

Browse files
wip
1 parent 4806939 commit f788565

File tree

3 files changed

+40
-826
lines changed

3 files changed

+40
-826
lines changed

library/Icingadb/Common/DetailActions.php

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ public function getDetailActionsDisabled(): bool
4646
public function initializeDetailActions(): self
4747
{
4848
$this->getAttributes()
49+
->registerAttributeCallback('data-interactable-action-list', function () {
50+
return $this->getDetailActionsDisabled() ? null : true;
51+
})
4952
->registerAttributeCallback('class', function () {
5053
return $this->getDetailActionsDisabled() ? null : 'action-list';
5154
})

0 commit comments

Comments
 (0)