Skip to content

Commit e332a8c

Browse files
chore(menu): update navigation manager properties for preview 9
1 parent 8fc84eb commit e332a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/menu/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ You can use the template to render arbitrary content according to your applicati
183183
184184
private bool CompareCurrentPageUrl(string urlToCopmare)
185185
{
186-
return navigationManager.GetAbsoluteUri().Substring(navigationManager.GetBaseUri().Length - 1).Equals(urlToCopmare);
186+
return navigationManager.Uri.Substring(navigationManager.BaseUri.Length - 1).Equals(urlToCopmare);
187187
}
188188
189189
private bool IsInternalPage(string url)

0 commit comments

Comments
 (0)