Browse Source

Merge pull request #19390 from abpframework/auto-merge/rel-8-1/2602

Merge branch dev with rel-8.1
pull/19395/head
maliming 3 years ago
committed by GitHub
parent
commit
41ba939169
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      framework/src/Volo.Abp.BlazoriseUI/Components/PageAlert.razor

8
framework/src/Volo.Abp.BlazoriseUI/Components/PageAlert.razor

@ -1,4 +1,4 @@
@foreach (var alert in Alerts) @foreach (var alert in Alerts)
{ {
<Alert Visible="@alert.IsVisible" Dismisable="@alert.AlertMessage.Dismissible" Color="@GetAlertColor(alert.AlertMessage.Type)"> <Alert Visible="@alert.IsVisible" Dismisable="@alert.AlertMessage.Dismissible" Color="@GetAlertColor(alert.AlertMessage.Type)">
@if (!string.IsNullOrEmpty(alert.AlertMessage.Title)) @if (!string.IsNullOrEmpty(alert.AlertMessage.Title))
@ -12,5 +12,9 @@
</Heading> </Heading>
} }
<Paragraph>@alert.AlertMessage.Text</Paragraph> <Paragraph>@alert.AlertMessage.Text</Paragraph>
@if (alert.AlertMessage.Dismissible)
{
<CloseButton />
}
</Alert> </Alert>
} }

Loading…
Cancel
Save