diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs b/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs index de85dd0131..37b600de9e 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs +++ b/framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs @@ -53,13 +53,10 @@ namespace Volo.Abp.BlazoriseUI.Components { if (ConfirmationMessage != null) { - await InvokeAsync(async () => + if (await UiMessageService.Confirm(ConfirmationMessage())) { - if (await UiMessageService.Confirm(ConfirmationMessage())) - { - await Clicked.InvokeAsync(); - } - }); + await InvokeAsync(async () => await Clicked.InvokeAsync()); + } } else {