Skip to content

Commit

Permalink
fix: change blank icon to null in MenuData
Browse files Browse the repository at this point in the history
Fixes: #20114
  • Loading branch information
tltv committed Oct 3, 2024
1 parent 1ebd400 commit fc0f166
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ private void populateRegisteredRoutes(ConfiguredRoutes configuration,
: menu.title(),
(Objects.equals(menu.order(), Double.MIN_VALUE)) ? null
: menu.order(),
excludeFromMenu, menu.icon()))
excludeFromMenu,
(menu.icon().isBlank() ? null : menu.icon())))
.orElse(null);

RouteData route = new RouteData(parentLayouts, template, parameters,
Expand Down

0 comments on commit fc0f166

Please sign in to comment.