Fix #5691: always display toast message.

This commit is contained in:
Ben
2025-10-04 09:49:05 +08:00
parent c1880c54ce
commit 72e475bca5
2 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@
@if (_style == MessageStyle.Toast)
{
<div class="app-modulemessage-toast bottom-0 end-0">
<div class="@_classname alert-dismissible fade show mb-3" role="alert">
<div class="app-modulemessage-toast bottom-0 end-0" @key="DateTime.UtcNow">
<div class="@_classname alert-dismissible fade show mb-3 rounded-end-0" role="alert">
@((MarkupString)Message)
@if (Type == MessageType.Error && PageState != null && UserSecurity.IsAuthorized(PageState.User, RoleNames.Host))
{