Browse Source
Merge pull request #22693 from abpframework/pagealert-patch
Remove duplicate close button
pull/22697/head
oykuermann
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
6 deletions
-
framework/src/Volo.Abp.BlazoriseUI/Components/PageAlert.razor
|
|
|
@ -5,16 +5,12 @@ |
|
|
|
{ |
|
|
|
<Heading Size="HeadingSize.Is4" Class="alert-heading"> |
|
|
|
@alert.AlertMessage.Title |
|
|
|
@if (alert.AlertMessage.Dismissible) |
|
|
|
{ |
|
|
|
<CloseButton Clicked="() => alert.IsVisible = false" /> |
|
|
|
} |
|
|
|
</Heading> |
|
|
|
} |
|
|
|
<Paragraph>@alert.AlertMessage.Text</Paragraph> |
|
|
|
@if (alert.AlertMessage.Dismissible) |
|
|
|
{ |
|
|
|
<CloseButton /> |
|
|
|
{ |
|
|
|
<CloseButton Clicked="() => alert.IsVisible = false" /> |
|
|
|
} |
|
|
|
</Alert> |
|
|
|
} |
|
|
|
|