diff --git a/docs/index.html b/docs/index.html index a25d7eeec3a..38a978b8251 100644 --- a/docs/index.html +++ b/docs/index.html @@ -148,8 +148,8 @@ .map(tag => tag.name) .filter(tag => tag.startsWith('v') && !excludedTagVersions.has(tag)); - const latestRelease = tags.find(tag => !tag.name.includes('rc')); - this.viewVersion = latestRelease.name; + const latestRelease = tagOptions.find(tag => !tag.includes('rc')); + this.viewVersion = latestRelease; this.versionOptions = this.versionOptions.concat(tagOptions); }, async outputHtml() {