From e4e78e2083295e4d23425628b2fb807e605593f6 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Wed, 20 Mar 2024 13:25:51 -0400 Subject: [PATCH] fix #4031 - add static rendering support to ActionDialog --- .../Modules/Controls/ActionDialog.razor | 158 +++++++++++++----- 1 file changed, 117 insertions(+), 41 deletions(-) diff --git a/Oqtane.Client/Modules/Controls/ActionDialog.razor b/Oqtane.Client/Modules/Controls/ActionDialog.razor index 9cb5fd7f9..a2a89ba27 100644 --- a/Oqtane.Client/Modules/Controls/ActionDialog.razor +++ b/Oqtane.Client/Modules/Controls/ActionDialog.razor @@ -2,47 +2,102 @@ @using System.Text.Json @inherits LocalizableComponent @inject IStringLocalizer SharedLocalizer +@inject NavigationManager NavigationManager -@if (_visible) +@if (PageState.RenderMode == RenderModes.Interactive || ModuleState.RenderMode == RenderModes.Interactive) { -
-