Browse Source

Remove selected state from current screen and only show component

pull/4987/head
Andrew Kingston 4 years ago
parent
commit
344daa349e
  1. 3
      packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/PathTree.svelte

3
packages/builder/src/components/design/NavigationPanel/ComponentNavigationTree/PathTree.svelte

@ -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}

Loading…
Cancel
Save