diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs index c0825352d18..d675251ac4b 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml.cs @@ -233,6 +233,13 @@ private async Task SetVersionAsync() } } } + else + { + LatestVersionInfo = new VersionInfoViewModel( + $"{DocsAppConsts.Latest}", + DocsAppConsts.Latest, + true); + } VersionSelectItems = versions.Select(v => new SelectListItem {