Merge pull request #4860 from sbwalker/dev
fix #4760 - display update confirmation message in Site Settings
This commit is contained in:
commit
601caab3b6
|
@ -481,6 +481,11 @@
|
|||
{
|
||||
try
|
||||
{
|
||||
if (PageState.QueryString.ContainsKey("updated"))
|
||||
{
|
||||
AddModuleMessage(Localizer["Success.Settings.SaveSite"], MessageType.Success);
|
||||
}
|
||||
|
||||
Site site = await SiteService.GetSiteAsync(PageState.Site.SiteId);
|
||||
if (site != null)
|
||||
{
|
||||
|
@ -736,7 +741,7 @@
|
|||
|
||||
await logger.LogInformation("Site Settings Saved {Site}", site);
|
||||
|
||||
NavigationManager.NavigateTo(NavigateUrl(), true); // reload
|
||||
NavigationManager.NavigateTo(NavigateUrl(PageState.Page.Path, "updated=true"), true); // reload
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user