workflow-view-without-working-services
[arvados-workbench2.git] / src / store / navigation / navigation-action.ts
index b65f687586002047af4164f5da4bd4e0a1923081..d332e0fca600dc03c6c3f9c6ebc944ac0edb7cbf 100644 (file)
@@ -24,6 +24,10 @@ export const navigateTo = (uuid: string) =>
         }
         if (uuid === SidePanelTreeCategory.FAVORITES) {
             dispatch<any>(navigateToFavorites);
+        } else if (uuid === SidePanelTreeCategory.SHARED_WITH_ME) {
+            dispatch(navigateToSharedWithMe);
+        } else if (uuid === SidePanelTreeCategory.WORKFLOWS) {
+            dispatch(navigateToWorkflows);
         }
     };
 
@@ -31,6 +35,8 @@ export const navigateToFavorites = push(Routes.FAVORITES);
 
 export const navigateToTrash = push(Routes.TRASH);
 
+export const navigateToWorkflows = push(Routes.WORKFLOWS);
+
 export const navigateToProject = compose(push, getProjectUrl);
 
 export const navigateToCollection = compose(push, getCollectionUrl);