Merge pull request #3768 from sbwalker/dev

Resolve issue where components are not being rendered interactively
This commit is contained in:
Shaun Walker
2024-02-12 08:52:07 -05:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
@namespace Oqtane.UI @namespace Oqtane.UI
@inject SiteState ComponentSiteState // can refer to either a static or interactive SiteState - it depends on the render mode @inject SiteState ComponentSiteState
@inject IStringLocalizer<ModuleInstance> Localizer @inject IStringLocalizer<ModuleInstance> Localizer
@inject ILogService LoggingService @inject ILogService LoggingService
@inherits ErrorBoundary @inherits ErrorBoundary

View File

@ -9,6 +9,11 @@ namespace Oqtane.Models
/// </summary> /// </summary>
public class Route public class Route
{ {
/// <summary>
/// parameterless constructor to prevent deserialization exceptions
/// </summary>
public Route() { }
/// <summary> /// <summary>
/// default constructor /// default constructor
/// the route parameter can be obtained from NavigationManager.Uri on client or HttpContext.Request.GetEncodedUrl() on server /// the route parameter can be obtained from NavigationManager.Uri on client or HttpContext.Request.GetEncodedUrl() on server