fix #4224 - reload page after adding module in Static Rendering
This commit is contained in:
@ -29,7 +29,6 @@
|
||||
{
|
||||
try
|
||||
{
|
||||
content = "";
|
||||
if (ShouldRender())
|
||||
{
|
||||
var htmltext = await HtmlTextService.GetHtmlTextAsync(ModuleState.ModuleId);
|
||||
@ -38,6 +37,10 @@
|
||||
content = htmltext.Content;
|
||||
content = Utilities.FormatContent(content, PageState.Alias, "render");
|
||||
}
|
||||
else
|
||||
{
|
||||
content = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user