From 5d266c5877461dd0001e3180455c717aba201ce8 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)}>