Skip to content

Commit

Permalink
Merge branch 'task/system-text-json-migration' into issue/OSOE-818
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Sep 24, 2024
2 parents 81fd5c6 + bdc2604 commit 9a6972e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lombiq.BaseTheme/Services/MainMenuNavigationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private async Task AddAsync(NavigationBuilder builder, ContentItem menuItem)

if (menuItem.As<LinkMenuItemPart>() is { } linkMenuItemPart)
{
builder.Add(text, menu => menu.Url(linkMenuItemPart.Url).LocalNav());
builder.Add(text, menu => menu.Url(linkMenuItemPart.Url).Local(linkMenuItemPart.Target != "_blank"));
}
else if (menuItem.As<ContentMenuItemPart>() is { } contentMenuItemPart)
{
Expand Down

0 comments on commit 9a6972e

Please sign in to comment.