improved rendering optimization

This commit is contained in:
sbwalker
2024-01-05 11:49:57 -05:00
parent 3dc28c7291
commit 02c22c1894
9 changed files with 30 additions and 14 deletions

View File

@ -21,7 +21,7 @@
{
try
{
if (PageState.RenderModuleInstance(ModuleState))
if (ShouldRender())
{
var htmltext = await HtmlTextService.GetHtmlTextAsync(ModuleState.ModuleId);
if (htmltext != null)