Fix variant dropdown for sites without variants

This commit is contained in:
Zeno Kapitein
2024-10-22 17:12:35 +02:00
parent 5abe43b451
commit 52a61fd1e3
@@ -107,7 +107,7 @@ export function SpaceLayout(props: {
)
}
innerHeader={
sections || (!withTopHeader && withVariants) ? (
(sections || !withTopHeader) && withVariants ? (
<SpacesDropdown space={space} spaces={spaces} />
) : null
}