Skip to content

Commit

Permalink
BLAZOR: Fix for ApplicationInstance on MdiHost responsible layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
HClausing committed Nov 22, 2022
1 parent 1bc759b commit 46c78c8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
<div class="flex-grow-1 overflow-hidden">
@if (_selectedApp != null)
{
<DynamicComponent Type="@((Type)_selectedApp!.Targets["Blazor"].StartupUriOrType)" />
<CascadingValue Value="_selectedApp">
<DynamicComponent Type="@((Type)_selectedApp!.Targets["Blazor"].StartupUriOrType)" />
</CascadingValue>
}
else
{
Expand Down

0 comments on commit 46c78c8

Please sign in to comment.