From 0bb8ae540df36890af3c9b652b11af630ae3674b Mon Sep 17 00:00:00 2001 From: sbwalker Date: Tue, 19 Mar 2024 10:19:31 -0400 Subject: [PATCH] pass RenderModeBoundary parameter when dynamically creating Module Settings component --- Oqtane.Client/Modules/Admin/Modules/Settings.razor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Oqtane.Client/Modules/Admin/Modules/Settings.razor b/Oqtane.Client/Modules/Admin/Modules/Settings.razor index 0f87f1f16..c7a2c0f23 100644 --- a/Oqtane.Client/Modules/Admin/Modules/Settings.razor +++ b/Oqtane.Client/Modules/Admin/Modules/Settings.razor @@ -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(); }; }