Skip to content

Commit

Permalink
Merge pull request #3906 from sbwalker/dev
Browse files Browse the repository at this point in the history
fix #3885 - do not display modal if message is blank
  • Loading branch information
sbwalker authored Feb 26, 2024
2 parents 1c691fa + 9a7199b commit 758e94a
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 758e94a

Please sign in to comment.