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.
2 parents 537e438 + fc942f7 commit 1a1350eCopy full SHA for 1a1350e
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