From 0f2139528ade211004f373ae6ae71dde67f04b29 Mon Sep 17 00:00:00 2001 From: Dragos Protung Date: Wed, 17 Apr 2024 15:33:53 +0300 Subject: [PATCH] Add URL back from DTO when getting config object --- src/Dto/ActionDto.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Dto/ActionDto.php b/src/Dto/ActionDto.php index 45fcccbc69..bf85faf70a 100644 --- a/src/Dto/ActionDto.php +++ b/src/Dto/ActionDto.php @@ -296,6 +296,10 @@ public function getAsConfigObject(): Action $action->linkToRoute($this->routeName, $this->routeParameters); } + if (null !== $this->url) { + $action->linkToUrl($this->url); + } + if (null !== $this->displayCallable) { $action->displayIf($this->displayCallable); }