File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Volo.Abp.Cli.Core/Volo/Abp/Cli Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff 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 ( ) ) ;
Original file line number Diff line number Diff line change @@ -5,9 +5,24 @@ namespace Volo.Abp.Cli;
55
66public 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/" ;
You can’t perform that action at this time.
0 commit comments