Merge pull request #4350 from sbwalker/dev

fix #4339 - add page not redirecting to correct url in subsite
This commit is contained in:
Shaun Walker 2024-06-24 11:00:01 -04:00 committed by GitHub
commit 1c943cc259
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -449,7 +449,7 @@
await logger.LogInformation("Page Added {Page}", page);
if (!string.IsNullOrEmpty(PageState.ReturnUrl))
{
NavigationManager.NavigateTo(page.Path, true); // redirect to page added and reload
NavigationManager.NavigateTo(NavigateUrl(page.Path), true); // redirect to page added and reload
}
else
{