EasyAdminBundle
EasyAdminBundle copied to clipboard
[3.0] MenuItem::linkToUrl generates an empty string in the menu
Describe the bug
MenuItem::linkToUrl generates an empty string in the menu
To Reproduce In the dashboard controller : yield MenuItem::linkToUrl('Homepage', 'fas fa-home', '/')->setLinkRel('index');
(OPTIONAL) Additional context
MenuItemDto::TYPE_URL does not seem to be handled in the menu factory right now.
https://github.com/EasyCorp/EasyAdminBundle/blob/master/src/Factory/MenuFactory.php#L121
Good catch! It's been fixed in #3340. Thanks.