force control panel to interactive render mode

This commit is contained in:
sbwalker
2024-02-14 11:05:49 -05:00
parent 88bf569752
commit 3db744269e
5 changed files with 627 additions and 602 deletions

View File

@ -71,11 +71,7 @@ else
if (ModuleType != null)
{
// repopulate the SiteState service based on the values passed in the SiteState parameter (this is how state is marshalled across the render mode boundary)
ComponentSiteState.Alias = SiteState.Alias;
ComponentSiteState.AntiForgeryToken = SiteState.AntiForgeryToken;
ComponentSiteState.AuthorizationToken = SiteState.AuthorizationToken;
ComponentSiteState.RemoteIPAddress = SiteState.RemoteIPAddress;
ComponentSiteState.IsPrerendering = SiteState.IsPrerendering;
ComponentSiteState.Clone(SiteState);
DynamicComponent = builder =>
{