Skip to content

Commit

Permalink
update menu tree actions as icon button
Browse files Browse the repository at this point in the history
  • Loading branch information
cklei-carly committed Aug 8, 2023
1 parent 1befe43 commit 8d62ba4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Pages/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,21 @@ protected function hasDeleteAction(): bool
return true;
}

protected function getDeleteAction(): Actions\DeleteAction
{
return Actions\DeleteAction::make()->iconButton();
}

protected function getEditAction(): Actions\EditAction
{
return Actions\EditAction::make()->iconButton();
}

protected function getViewAction(): Actions\ViewAction
{
return Actions\ViewAction::make()->iconButton();
}

protected function configureCreateAction(CreateAction $action): CreateAction
{
$action = parent::configureCreateAction($action);
Expand Down

0 comments on commit 8d62ba4

Please sign in to comment.