[arvados-workbench2] updated: 2.7.0-226-g21be228d
git repository hosting
git at public.arvados.org
Thu Nov 9 15:29:40 UTC 2023
Summary of changes:
src/views-components/side-panel/side-panel-collapsed.tsx | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
via 21be228d6b3f99b6c27b2a2a0fd1cc9c46ce6cfb (commit)
from 9a3525e1e4561393a4fb42c6e02f4f6b6d074954 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 21be228d6b3f99b6c27b2a2a0fd1cc9c46ce6cfb
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Thu Nov 9 10:29:36 2023 -0500
19302: fixed collapsed highlight Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/src/views-components/side-panel/side-panel-collapsed.tsx b/src/views-components/side-panel/side-panel-collapsed.tsx
index 9108e620..74dfee65 100644
--- a/src/views-components/side-panel/side-panel-collapsed.tsx
+++ b/src/views-components/side-panel/side-panel-collapsed.tsx
@@ -20,7 +20,6 @@ import {
navigateToAllProcesses,
navigateToTrash,
} from 'store/navigation/navigation-action'
-import { openUserVirtualMachines } from 'store/virtual-machines/virtual-machines-actions'
import { navigateToUserVirtualMachines } from 'store/navigation/navigation-action'
import { RouterAction } from 'react-router-redux'
@@ -97,10 +96,14 @@ const sidePanelCollapsedCategories: TCollapsedCategory[] = [
]
const mapStateToProps = ({auth, properties }: RootState) => {
- return {
- user: auth.user,
- selectedPath: properties.breadcrumbs ? properties.breadcrumbs[0].label : SidePanelCollapsedCategory.PROJECTS,
- }
+ return {
+ user: auth.user,
+ selectedPath: properties.breadcrumbs
+ ? properties.breadcrumbs[0].label !== 'Virtual Machines'
+ ? properties.breadcrumbs[0].label
+ : SidePanelCollapsedCategory.SHELL_ACCESS
+ : SidePanelCollapsedCategory.PROJECTS,
+ }
}
const mapDispatchToProps = (dispatch: Dispatch) => {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list