Browse Source

Address Copilot review: wrap Clicked.InvokeAsync method group in lambda

pull/25349/head
maliming 5 months ago
parent
commit
aa3baa63bb
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      framework/src/Volo.Abp.MudBlazorUI/Components/MudEntityAction.razor.cs

2
framework/src/Volo.Abp.MudBlazorUI/Components/MudEntityAction.razor.cs

@ -69,7 +69,7 @@ public partial class MudEntityAction<TItem> : ComponentBase
{ {
if (await UiMessageService.Confirm(ConfirmationMessage())) if (await UiMessageService.Confirm(ConfirmationMessage()))
{ {
await InvokeAsync(Clicked.InvokeAsync); await InvokeAsync(() => Clicked.InvokeAsync());
} }
} }
else else

Loading…
Cancel
Save