fix(website): hide version select on `/plugins` & `/tools` (#12145)

* fix(website/plugins): display version select

* fix: hide version select on `/tools` + `/plugins`
This commit is contained in:
Kevin Wang 2022-02-28 12:44:08 -05:00 committed by GitHub
parent 77fac26d5e
commit 166011237b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,6 @@ export default function DocsLayout(props) {
product={{ name: productName, slug: productSlug }}
baseRoute={basePath}
staticProps={props}
showVersionSelect={process.env.ENABLE_VERSIONED_DOCS === 'true'}
/>
)
}

View File

@ -15,7 +15,6 @@ export default function DocsLayout(props) {
baseRoute={basePath}
staticProps={props}
additionalComponents={additionalComponents}
showVersionSelect={process.env.ENABLE_VERSIONED_DOCS === 'true'}
/>
)
}

View File

@ -12,7 +12,6 @@ export default function DocsLayout(props) {
product={{ name: productName, slug: productSlug }}
baseRoute={basePath}
staticProps={props}
showVersionSelect={process.env.ENABLE_VERSIONED_DOCS === 'true'}
/>
)
}

View File

@ -12,6 +12,7 @@ export default function DocsLayout(props) {
product={{ name: productName, slug: productSlug }}
baseRoute={basePath}
staticProps={props}
showVersionSelect={false}
/>
)
}

View File

@ -12,6 +12,7 @@ export default function DocsLayout(props) {
product={{ name: productName, slug: productSlug }}
baseRoute={basePath}
staticProps={props}
showVersionSelect={false}
/>
)
}