diff --git a/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml b/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml index 1a6280e6fd..312128cb3e 100644 --- a/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml +++ b/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml @@ -264,7 +264,7 @@
Install-Package @Model.Id
- @if (!Model.LatestVersion || !Model.Listed)
+ @if (!Model.LatestVersionSemVer2 || !Model.Listed)
{
@@ -365,7 +365,7 @@
@packageVersion.Title.Abbreviate(20)
@packageVersion.Version
- @if (packageVersion.LatestStableVersion)
+ @if (packageVersion.LatestStableVersionSemVer2)
{
@:(latest stable)
}