Skip to content

Commit dd546fe

Browse files
authored
Merge pull request #22868 from abpframework/auto-merge/rel-9-1/3722
Merge branch rel-9.2 with rel-9.1
2 parents cbb3ff8 + 0bd4b29 commit dd546fe

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

framework/src/Volo.Abp.BlazoriseUI/AbpCrudPageBase.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,11 @@ protected virtual Task OnDeletingEntityAsync()
552552

553553
protected virtual async Task OnDeletedEntityAsync()
554554
{
555+
if (Entities.Count == 1 && CurrentPage > 1)
556+
{
557+
CurrentPage -= 1;
558+
}
559+
555560
await GetEntitiesAsync();
556561
await InvokeAsync(StateHasChanged);
557562
await Notify.Success(GetDeleteMessage());

framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/CliUrls.cs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,24 @@ namespace Volo.Abp.Cli;
55

66
public static class CliUrls
77
{
8-
public static string WwwAbpIo = WwwAbpIoProduction;
9-
public static string AccountAbpIo = AccountAbpIoProduction;
10-
public static string NuGetRootPath = NuGetRootPathProduction;
8+
public static string WwwAbpIo
9+
{
10+
get => WwwAbpIoProduction;
11+
set => WwwAbpIoProduction = value;
12+
}
13+
14+
public static string AccountAbpIo
15+
{
16+
get => AccountAbpIoProduction;
17+
set => AccountAbpIoProduction = value;
18+
}
19+
20+
public static string NuGetRootPath
21+
{
22+
get => NuGetRootPathProduction;
23+
set => NuGetRootPathProduction = value;
24+
}
25+
1126
public static string LatestVersionCheckFullPath = "https://raw.githubusercontent.com/abpframework/abp/dev/latest-versions.json";
1227

1328
public static string WwwAbpIoProduction = "https://abp.io/";

0 commit comments

Comments
 (0)