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 32b6ee7 commit f230c6dCopy full SHA for f230c6d
src/Resources/MenuResource/Pages/ManageMenuItems.php
@@ -61,7 +61,7 @@ protected function getHeaderActions(): array
61
];
62
}
63
64
- protected function getTreeActions(): array
+ protected function getActions(): array
65
{
66
return [
67
Action::make('create')
@@ -77,6 +77,12 @@ protected function getTreeActions(): array
77
$data['menu_id'] = $this->record->id;
78
static::getModel()::create($data);
79
}),
80
+ ];
81
+ }
82
+
83
+ protected function getTreeActions(): array
84
+ {
85
+ return [
86
EditAction::make()
87
->mountUsing(
88
fn ($arguments, $form, $model) => $form->fill([
0 commit comments