docs(docs-infra): fix next version dropdown

fixes #65912

(cherry picked from commit 13bc1bc721)
This commit is contained in:
Matthieu Riegler 2025-12-08 13:14:47 +01:00 committed by Alex Rickabaugh
parent bd4cfc88ef
commit 5d8adf2105

View file

@ -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];
}