Skip to content

Commit

Permalink
Merge pull request #4018 from sbwalker/dev
Browse files Browse the repository at this point in the history
pass RenderModeBoundary parameter when dynamically creating Module Settings component
  • Loading branch information
sbwalker authored Mar 19, 2024
2 parents 963957f + 0bb8ae5 commit 4ed501f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Oqtane.Client/Modules/Admin/Modules/Settings.razor
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@
ModuleSettingsComponent = builder =>
{
builder.OpenComponent(0, _moduleSettingsType);
builder.AddComponentReferenceCapture(1, inst => { _moduleSettings = Convert.ChangeType(inst, _moduleSettingsType); });
builder.AddAttribute(1, "RenderModeBoundary", RenderModeBoundary);
builder.AddComponentReferenceCapture(2, inst => { _moduleSettings = Convert.ChangeType(inst, _moduleSettingsType); });
builder.CloseComponent();
};
}
Expand Down

0 comments on commit 4ed501f

Please sign in to comment.