improve ShouldRender logic
This commit is contained in:
@ -115,7 +115,7 @@ namespace Oqtane.Modules
|
||||
|
||||
protected override bool ShouldRender()
|
||||
{
|
||||
return PageState.RenderId == ModuleState.RenderId;
|
||||
return PageState?.RenderId == ModuleState?.RenderId;
|
||||
}
|
||||
|
||||
// path method
|
||||
|
Reference in New Issue
Block a user