1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Fix issue displaying opened status of screens

This commit is contained in:
Andrew Kingston 2020-10-22 18:14:29 +01:00
parent 81398c6b65
commit 2468e5e9a9

View file

@ -44,7 +44,7 @@
text={screen.props._instanceName} text={screen.props._instanceName}
withArrow={screen.props._children.length} withArrow={screen.props._children.length}
selected={$store.currentComponentInfo._id === screen.props._id} 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)}> on:click={() => changeScreen(screen)}>
<ScreenDropdownMenu {screen} /> <ScreenDropdownMenu {screen} />
</NavItem> </NavItem>