We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537e438 commit fc942f7Copy full SHA for fc942f7
framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs
@@ -552,6 +552,11 @@ protected virtual Task OnDeletingEntityAsync()
552
553
protected virtual async Task OnDeletedEntityAsync()
554
{
555
+ if (Entities.Count == 1 && CurrentPage > 1)
556
+ {
557
+ CurrentPage -= 1;
558
+ }
559
+
560
await GetEntitiesAsync();
561
await InvokeAsync(StateHasChanged);
562
await Notify.Success(GetDeleteMessage());
0 commit comments