1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00

Remove selected state from current screen and only show component

This commit is contained in:
Andrew Kingston 2022-03-21 16:06:23 +00:00
parent c739bc8470
commit 344daa349e

View file

@ -84,7 +84,8 @@
<NavItem
icon="WebPage"
indentLevel={indent || 1}
selected={$store.selectedScreenId === screen.id}
selected={$store.selectedScreenId === screen.id &&
$store.currentView === "detail"}
opened={$store.selectedScreenId === screen.id}
text={ROUTE_NAME_MAP[screen.route]?.[screen.role] || screen.route}
withArrow={route.subpaths}