We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4806939 commit 6201854Copy full SHA for 6201854
3 files changed
library/Icingadb/Common/DetailActions.php
@@ -46,6 +46,9 @@ public function getDetailActionsDisabled(): bool
46
public function initializeDetailActions(): self
47
{
48
$this->getAttributes()
49
+ ->registerAttributeCallback('data-interactable-action-list', function () {
50
+ return $this->getDetailActionsDisabled() ? null : true;
51
+ })
52
->registerAttributeCallback('class', function () {
53
return $this->getDetailActionsDisabled() ? null : 'action-list';
54
})
0 commit comments