Skip to content

Commit

Permalink
Merge pull request #3842 from sbwalker/dev
Browse files Browse the repository at this point in the history
add [StreamRendering] to Head component for static rendering
  • Loading branch information
sbwalker authored Feb 19, 2024
2 parents 6f215cb + be98f78 commit 44b87dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Oqtane.Client/UI/Head.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
@using Oqtane.Shared
@inject SiteState SiteState
@implements IDisposable
@* the following StreamRendering attribute is required - if it is removed the framework will not render the content in static rendering *@
@attribute [StreamRendering]

@if (!string.IsNullOrEmpty(_title))
{
Expand Down
2 changes: 1 addition & 1 deletion Oqtane.Client/UI/Routes.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@inject IInstallationService InstallationService
@inject IJSRuntime JSRuntime
@inject SiteState SiteState
@* the following StreamRendering attribute is required - if it is removed the framework will not render a UI on static rendering *@
@* the following StreamRendering attribute is required - if it is removed the framework will not render the content in static rendering *@
@attribute [StreamRendering]

@if (_initialized)
Expand Down

0 comments on commit 44b87dc

Please sign in to comment.