projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.curoverse.com:arvados-workbench2 into 13751-shared-with...
[arvados.git]
/
src
/
store
/
navigation
/
navigation-action.ts
diff --git
a/src/store/navigation/navigation-action.ts
b/src/store/navigation/navigation-action.ts
index 0e87769e24a57095f4e74fd578f5c46ed1358c59..c68c5398754e13c6a439af6176cf53a36def01d7 100644
(file)
--- a/
src/store/navigation/navigation-action.ts
+++ b/
src/store/navigation/navigation-action.ts
@@
-24,6
+24,8
@@
export const navigateTo = (uuid: string) =>
}
if (uuid === SidePanelTreeCategory.FAVORITES) {
dispatch<any>(navigateToFavorites);
}
if (uuid === SidePanelTreeCategory.FAVORITES) {
dispatch<any>(navigateToFavorites);
+ } else if(uuid === SidePanelTreeCategory.SHARED_WITH_ME){
+ dispatch(navigateToSharedWithMe);
}
};
}
};
@@
-44,4
+46,6
@@
export const navigateToRootProject = (dispatch: Dispatch, getState: () => RootSt
if (rootProjectUuid) {
dispatch(navigateToProject(rootProjectUuid));
}
if (rootProjectUuid) {
dispatch(navigateToProject(rootProjectUuid));
}
-};
\ No newline at end of file
+};
+
+export const navigateToSharedWithMe = push(Routes.SHARED_WITH_ME);