Browse Source
Merge pull request #12752 from abpframework/auto-merge/rel-5-3/1108
Merge branch dev with rel-5.3
pull/12780/head
Berkan Sasmaz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs
|
|
|
@ -78,7 +78,7 @@ namespace Volo.Docs.Pages.Documents.Project |
|
|
|
|
|
|
|
public bool FullSearchEnabled { get; set; } |
|
|
|
|
|
|
|
public bool IsLatestVersion => Version == LatestVersionInfo.Version; |
|
|
|
public bool IsLatestVersion { get; private set; } |
|
|
|
|
|
|
|
private const int MaxDescriptionMetaTagLength = 200; |
|
|
|
private readonly IDocumentAppService _documentAppService; |
|
|
|
@ -335,6 +335,8 @@ namespace Volo.Docs.Pages.Documents.Project |
|
|
|
Value = CreateVersionLink(LatestVersionInfo, v.Version, DocumentName), |
|
|
|
Selected = v.IsSelected |
|
|
|
}).ToList(); |
|
|
|
|
|
|
|
IsLatestVersion = Version == LatestVersionInfo.Version; |
|
|
|
} |
|
|
|
|
|
|
|
private VersionInfoViewModel GetLatestVersionInfo(List<VersionInfoViewModel> versions) |
|
|
|
|