Skip to content

Commit

Permalink
fix #3885 - do not display modal if message is blank
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwalker committed Feb 26, 2024
1 parent b435f49 commit 9a7199b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Client/Modules/Controls/ModuleMessage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@inherits ModuleControlBase
@inject NavigationManager NavigationManager

@if (Visible)
@if (Visible && !string.IsNullOrEmpty(Message))
{
<div class="@_classname alert-dismissible fade show mb-3" role="alert">
@((MarkupString)Message)
Expand Down

0 comments on commit 9a7199b

Please sign in to comment.