routing+init-data-explorer
[arvados-workbench2.git] / src / store / navigation / navigation-action.ts
index f610eb5e99fd6786f8fe975888256c3e544d27d1..d7ad017878894ff0156333b9d3c290c0637276b3 100644 (file)
@@ -27,6 +27,8 @@ export const navigateTo = (uuid: string) =>
         }
         if (uuid === SidePanelTreeCategory.FAVORITES) {
             dispatch<any>(navigateToFavorites);
+        } else if (uuid === SidePanelTreeCategory.PUBLIC_FAVORITES) {
+            dispatch(navigateToPublicFavorites);
         } else if (uuid === SidePanelTreeCategory.SHARED_WITH_ME) {
             dispatch(navigateToSharedWithMe);
         } else if (uuid === SidePanelTreeCategory.WORKFLOWS) {
@@ -44,6 +46,8 @@ export const navigateToFavorites = push(Routes.FAVORITES);
 
 export const navigateToTrash = push(Routes.TRASH);
 
+export const navigateToPublicFavorites = push(Routes.PUBLIC_FAVORITES);
+
 export const navigateToWorkflows = push(Routes.WORKFLOWS);
 
 export const navigateToProject = compose(push, getProjectUrl);
@@ -94,3 +98,5 @@ export const navigateToGroups = push(Routes.GROUPS);
 export const navigateToGroupDetails = compose(push, getGroupUrl);
 
 export const navigateToLinks = push(Routes.LINKS);
+
+export const navigateToCollectionsContentAddress = push(Routes.COLLECTIONS_CONTENT_ADDRESS);