[ARVADOS-WORKBENCH2] updated: 1.1.4-526-g9892f05

Git user git at public.curoverse.com
Fri Aug 3 08:53:18 EDT 2018


Summary of changes:
 src/store/navigation/navigation-action.ts | 1 +
 src/views/workbench/workbench.tsx         | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

       via  9892f05a26dbba0e49ff99871128723eedbafa6e (commit)
      from  219d452e647c01754bf71b91086b15cc9f00027a (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 9892f05a26dbba0e49ff99871128723eedbafa6e
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Fri Aug 3 14:53:05 2018 +0200

    reloaction tooglesidepanelactive from workbench to navigation-panel
    
    Feature #13905
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/store/navigation/navigation-action.ts b/src/store/navigation/navigation-action.ts
index 9f49f25..a4483ba 100644
--- a/src/store/navigation/navigation-action.ts
+++ b/src/store/navigation/navigation-action.ts
@@ -69,6 +69,7 @@ export const restoreBranch = (itemId: string) =>
         const uuids = ancestors.map(ancestor => ancestor.uuid);
         await loadBranch(uuids, dispatch);
         dispatch(sidePanelActions.TOGGLE_SIDE_PANEL_ITEM_OPEN(SidePanelIdentifiers.PROJECTS));
+        dispatch(sidePanelActions.TOGGLE_SIDE_PANEL_ITEM_ACTIVE(SidePanelIdentifiers.PROJECTS));
         uuids.forEach(uuid => {
             dispatch(projectActions.TOGGLE_PROJECT_TREE_ITEM_OPEN(uuid));
         });
diff --git a/src/views/workbench/workbench.tsx b/src/views/workbench/workbench.tsx
index e78c3e7..5ffdf91 100644
--- a/src/views/workbench/workbench.tsx
+++ b/src/views/workbench/workbench.tsx
@@ -181,7 +181,6 @@ export const Workbench = withStyles(styles)(
 
                 const id = getProjectIdFromUrl(this.props.router.pathname);
                 if (id) {
-                    this.props.dispatch<any>(sidePanelActions.TOGGLE_SIDE_PANEL_ITEM_ACTIVE(SidePanelIdentifiers.PROJECTS));
                     this.props.dispatch<any>(restoreBranch(id));
                 }
             }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list