mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 23:55:20 +00:00
Fix variant dropdown for sites without variants
This commit is contained in:
@@ -107,7 +107,7 @@ export function SpaceLayout(props: {
|
||||
)
|
||||
}
|
||||
innerHeader={
|
||||
sections || (!withTopHeader && withVariants) ? (
|
||||
(sections || !withTopHeader) && withVariants ? (
|
||||
<SpacesDropdown space={space} spaces={spaces} />
|
||||
) : null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user