Skip to content

Commit 8c45718

Browse files
committed
Bug Fix - Invalidate Document Type While Createing Content
1 parent d054e10 commit 8c45718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Livewire/BaseContentTreeNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ protected function transformRecordIntoNode($record)
154154
return [];
155155
})
156156
->whereInstanceOf(Action::class)
157-
->map(fn (Action $action) => $action->arguments(['node' => $node]))
157+
->map(fn (Action $action) => $action(['node' => $node]))
158158
->where(fn (Action $action) => $action->isVisible())
159159
->map(fn (Action $action) => $action->getName())
160160
->values()

0 commit comments

Comments
 (0)