Fix issue displaying opened status of screens
This commit is contained in:
parent
1c149d7d5c
commit
5d266c5877
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue