diff --git a/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css b/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css index ca67e04bd2..0720a58bfa 100644 --- a/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css +++ b/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css @@ -1,7 +1,6 @@ .projectNode { margin-top: 8px; - &.project:only-child, &.hideProjects { margin-top: 0px; } diff --git a/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx b/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx index 07d842c2d8..3a96d5fb22 100644 --- a/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx +++ b/webapp/packages/plugin-navigation-tree-rm/src/Tree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx @@ -103,7 +103,6 @@ const ProjectRenderer: NavigationNodeRendererComponent = observer(function Manag }); const hideProjects = elementsTreeContext?.tree.settings?.projects === false && !isDragging; - const singleProject = projectsService.activeProjects.length === 1; if (!node) { return ( @@ -113,8 +112,6 @@ const ProjectRenderer: NavigationNodeRendererComponent = observer(function Manag ); } - const project = node.nodeType === NAV_NODE_TYPE_RM_PROJECT && singleProject && !isDragging; - return ( diff --git a/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css b/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css index ca67e04bd2..0720a58bfa 100644 --- a/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css +++ b/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/NavigationTreeProjectsRendererRenderer.m.css @@ -1,7 +1,6 @@ .projectNode { margin-top: 8px; - &.project:only-child, &.hideProjects { margin-top: 0px; } diff --git a/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx b/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx index 857c9dea59..e46f78f4f7 100644 --- a/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx +++ b/webapp/packages/plugin-navigation-tree/src/NavigationTree/ProjectsRenderer/navigationTreeProjectsRendererRenderer.tsx @@ -74,7 +74,6 @@ const ProjectRenderer: NavigationNodeRendererComponent = observer(function Manag return isDraggingInsideProject(node.projectId, elementsTreeContext.tree.activeDnDData); }); - const singleProject = projectsService.activeProjects.length === 1; const hideProjects = elementsTreeContext?.tree.settings?.projects === false && !isDragging; if (!node) { @@ -85,8 +84,6 @@ const ProjectRenderer: NavigationNodeRendererComponent = observer(function Manag ); } - const project = node.nodeType === NAV_NODE_TYPE_PROJECT && singleProject && !isDragging; - return (