mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs(docs-infra): fix next version dropdown
fixes #65912
(cherry picked from commit 13bc1bc721)
This commit is contained in:
parent
bd4cfc88ef
commit
5d8adf2105
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ export class VersionManager {
|
|||
|
||||
readonly currentDocsVersion = computed(() => {
|
||||
// In devmode the version is 0, so we'll target next (which is first on the list)
|
||||
if (VERSION.major === '0') {
|
||||
if (VERSION.major === '0' || VERSION.patch.includes('next')) {
|
||||
return this.versions()[0];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue