Browse Source
Merge pull request #17019 from abpframework/issue-16894
Fix search for latest branch when no version
pull/17068/head
Yunus Emre Kalkan
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs
|
|
|
@ -327,6 +327,11 @@ namespace Volo.Docs.Pages.Documents.Project |
|
|
|
$"{DocsAppConsts.Latest}", |
|
|
|
DocsAppConsts.Latest, |
|
|
|
true); |
|
|
|
|
|
|
|
if(string.Equals(Version, DocsAppConsts.Latest, StringComparison.OrdinalIgnoreCase)) |
|
|
|
{ |
|
|
|
Version = RemoveVersionPrefix(Project.LatestVersionBranchName); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
VersionSelectItems = versions.Select(v => new SelectListItem |
|
|
|
|