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:
parent
77fac26d5e
commit
166011237b
|
@ -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'}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -15,7 +15,6 @@ export default function DocsLayout(props) {
|
|||
baseRoute={basePath}
|
||||
staticProps={props}
|
||||
additionalComponents={additionalComponents}
|
||||
showVersionSelect={process.env.ENABLE_VERSIONED_DOCS === 'true'}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -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'}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ export default function DocsLayout(props) {
|
|||
product={{ name: productName, slug: productSlug }}
|
||||
baseRoute={basePath}
|
||||
staticProps={props}
|
||||
showVersionSelect={false}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ export default function DocsLayout(props) {
|
|||
product={{ name: productName, slug: productSlug }}
|
||||
baseRoute={basePath}
|
||||
staticProps={props}
|
||||
showVersionSelect={false}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue