21578: Merge branch 'main' into 21578-mount-debug
[arvados.git] / services / workbench2 / src / views-components / side-panel / side-panel-collapsed.tsx
index a40c64b3b74e387399db75e4bff69a6f2b5db909..4ac91f4febb5862e550e2821b3f36eecc5817bee 100644 (file)
@@ -23,7 +23,6 @@ import {
 import { navigateToUserVirtualMachines } from 'store/navigation/navigation-action'
 import { RouterAction } from 'react-router-redux'
 import { User } from 'models/user'
-import { SidePanelTreeCategory } from 'store/side-panel-tree/side-panel-tree-actions'
 
 type CssRules = 'button' | 'unselected' | 'selected'
 
@@ -120,9 +119,7 @@ const mapStateToProps = ({auth, properties }: RootState) => {
         return {
             user: auth.user,
             selectedPath: properties.breadcrumbs
-                ? properties.breadcrumbs[0].label !== SidePanelTreeCategory.SHELL_ACCESS
                 ? properties.breadcrumbs[0].label
-                : SidePanelCollapsedCategory.SHELL_ACCESS
                 : SidePanelCollapsedCategory.PROJECTS,
         }
 }