Skip to content

Commit c9e9bcc

Browse files
authored
Merge pull request #12 from tomiaa1926/aolig
add getHasActionsForms
2 parents 7bb3a8b + 4244654 commit c9e9bcc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Concern/HasActions.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ public function getMountedTreeAction(): ?Action
190190
return $this->getCachedTreeAction($this->mountedTreeAction) ?? $this->getCachedTreeEmptyStateAction($this->mountedTreeAction);
191191
}
192192

193+
protected function getHasActionsForms(): array
194+
{
195+
return [
196+
'mountedTreeActionData' => $this->getMountedTreeActionForm(),
197+
];
198+
}
199+
193200
public function getMountedTreeActionForm()
194201
{
195202
$action = $this->getMountedTreeAction();

0 commit comments

Comments
 (0)