Resolve issue where components are not being rendered interactively
This commit is contained in:
parent
856afcf3bf
commit
8d9a050ad6
|
@ -1,5 +1,5 @@
|
|||
@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 ILogService LoggingService
|
||||
@inherits ErrorBoundary
|
||||
|
|
|
@ -9,6 +9,11 @@ namespace Oqtane.Models
|
|||
/// </summary>
|
||||
public class Route
|
||||
{
|
||||
/// <summary>
|
||||
/// parameterless constructor to prevent deserialization exceptions
|
||||
/// </summary>
|
||||
public Route() { }
|
||||
|
||||
/// <summary>
|
||||
/// default constructor
|
||||
/// the route parameter can be obtained from NavigationManager.Uri on client or HttpContext.Request.GetEncodedUrl() on server
|
||||
|
|
Loading…
Reference in New Issue
Block a user