From be15751c5fdce046b44c63cb5671062ef2757f79 Mon Sep 17 00:00:00 2001 From: bt-nn <95690155+bt-nn@users.noreply.github.com> Date: Wed, 3 Dec 2025 12:40:09 +0100 Subject: [PATCH] Use renderAsLink() instead of asTextLink() for Action::DELETE fixes #7120 --- src/Config/Actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config/Actions.php b/src/Config/Actions.php index 30479ecb43..2ba3311a5e 100644 --- a/src/Config/Actions.php +++ b/src/Config/Actions.php @@ -196,7 +196,7 @@ private function createBuiltInAction(string $pageName, string $actionName): Acti return Action::new(Action::DELETE, t('action.delete', domain: 'EasyAdminBundle'), 'internal:delete') ->linkToCrudAction(Action::DELETE) ->asDangerAction() - ->asTextLink() + ->renderAsLink() ; }