diff --git a/Oqtane.Client/UI/RenderModeBoundary.razor b/Oqtane.Client/UI/RenderModeBoundary.razor index 71ca8f3f..4e83b473 100644 --- a/Oqtane.Client/UI/RenderModeBoundary.razor +++ b/Oqtane.Client/UI/RenderModeBoundary.razor @@ -4,12 +4,12 @@ @inject ILogService LoggingService @inherits ErrorBoundary -@if (CurrentException is null) -{ - @if (ModuleType != null) - { - - + + + @if (CurrentException is null) + { + @if (ModuleType != null) + { @if (!string.IsNullOrEmpty(_messageContent) && _messagePosition == "top") { @@ -23,17 +23,17 @@ { } - - - } -} -else -{ - @if (!string.IsNullOrEmpty(_error)) - { - - } -} + } + } + else + { + @if (!string.IsNullOrEmpty(_error)) + { + + } + } + + @code { private Type ModuleType { get; set; }