Browse Source

Fixed confirmation dialog

pull/8074/head
Mladen Macanovic 6 years ago
parent
commit
a5fd5f7c90
  1. 9
      framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs

9
framework/src/Volo.Abp.BlazoriseUI/Components/EntityAction.razor.cs

@ -53,13 +53,10 @@ namespace Volo.Abp.BlazoriseUI.Components
{ {
if (ConfirmationMessage != null) if (ConfirmationMessage != null)
{ {
await InvokeAsync(async () => if (await UiMessageService.Confirm(ConfirmationMessage()))
{ {
if (await UiMessageService.Confirm(ConfirmationMessage())) await InvokeAsync(async () => await Clicked.InvokeAsync());
{ }
await Clicked.InvokeAsync();
}
});
} }
else else
{ {

Loading…
Cancel
Save