diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte index 43a2c07bd9..dae80cf1e7 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte @@ -44,7 +44,7 @@ text={screen.props._instanceName} withArrow={screen.props._children.length} selected={$store.currentComponentInfo._id === screen.props._id} - opened={$store.currentPreviewItem.name !== screen.props._id} + opened={$store.currentPreviewItem.name === screen.props._id} on:click={() => changeScreen(screen)}>