merge master
[arvados-workbench2.git] / src / store / navigation / navigation-action.ts
index d332e0fca600dc03c6c3f9c6ebc944ac0edb7cbf..b060afc433c11df2f554ea1160c53f309f16cc68 100644 (file)
@@ -28,6 +28,8 @@ export const navigateTo = (uuid: string) =>
             dispatch(navigateToSharedWithMe);
         } else if (uuid === SidePanelTreeCategory.WORKFLOWS) {
             dispatch(navigateToWorkflows);
+        } else if (uuid === SidePanelTreeCategory.TRASH) {
+            dispatch(navigateToTrash);
         }
     };
 
@@ -53,3 +55,7 @@ export const navigateToRootProject = (dispatch: Dispatch, getState: () => RootSt
 };
 
 export const navigateToSharedWithMe = push(Routes.SHARED_WITH_ME);
+
+export const navigateToRunProcess = push(Routes.RUN_PROCESS);
+
+export const navigateToSearchResults = push(Routes.SEARCH_RESULTS);
\ No newline at end of file