Skip to content

Commit

Permalink
Merge pull request #3768 from sbwalker/dev
Browse files Browse the repository at this point in the history
Resolve issue where components are not being rendered interactively
  • Loading branch information
sbwalker authored Feb 12, 2024
2 parents 485f7fd + 8d9a050 commit 8e03cf9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Client/UI/RenderModeBoundary.razor
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions Oqtane.Shared/Models/Route.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e03cf9

Please sign in to comment.