Skip to content

Commit

Permalink
Null check
Browse files Browse the repository at this point in the history
  • Loading branch information
stsrki committed Jan 29, 2025
1 parent b7f05df commit 7a82e80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ internal void TrySetRouteData( RouteData routeData )
if ( routeData is not null )
{
SetRouterTabsItemFromPageAttribute( routerTabsItem, routeData.PageType );
routerTabsItem.LocalizedName ??= options?.NamesLocalizer.Invoke( routerTabsItem.Name );
routerTabsItem.LocalizedName ??= options?.NamesLocalizer?.Invoke( routerTabsItem.Name );
routerTabsItem.Body ??= CreateRouterTabsItemBody( routeData );
routerTabsItem.TypeName = routeData.PageType.FullName;
if ( string.IsNullOrWhiteSpace( routerTabsItem.Name ) )
Expand Down

0 comments on commit 7a82e80

Please sign in to comment.