diff --git a/src/frontend/src/components/nav/NavigationTree.tsx b/src/frontend/src/components/nav/NavigationTree.tsx index ff2eb3a42d..1abf8a8cfe 100644 --- a/src/frontend/src/components/nav/NavigationTree.tsx +++ b/src/frontend/src/components/nav/NavigationTree.tsx @@ -220,6 +220,8 @@ export default function NavigationTree({ ? !!(childIdentifier && resolveItem(payload.node, childIdentifier)) : nodeInfo.children.length > 0; + const isSelected = nodeInfo.selected === true; + return ( { if (!hasChildren) return; if (!debouncedSearch && !isFetched) {