From 2468e5e9a950e875d102c8c139d65856eb0dfcc2 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 22 Oct 2020 18:14:29 +0100 Subject: [PATCH] Fix issue displaying opened status of screens --- .../src/components/userInterface/ComponentsHierarchy.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}>