X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/151c8c646b7fd78fc9ca2b8174eae11bce67873f..085692af7ee9809e2714edacad1251e78a196bd3:/src/routes/routes.ts?ds=sidebyside diff --git a/src/routes/routes.ts b/src/routes/routes.ts index 29941b47e8..fb28bd05be 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -15,7 +15,8 @@ export const Routes = { PROCESSES: `/processes/:id(${RESOURCE_UUID_PATTERN})`, FAVORITES: '/favorites', TRASH: '/trash', - PROCESS_LOGS: `/process-logs/:id(${RESOURCE_UUID_PATTERN})` + PROCESS_LOGS: `/process-logs/:id(${RESOURCE_UUID_PATTERN})`, + SHARED_WITH_ME: '/shared-with-me', }; export const getResourceUrl = (uuid: string) => { @@ -60,3 +61,6 @@ export const matchProcessRoute = (route: string) => export const matchProcessLogRoute = (route: string) => matchPath(route, { path: Routes.PROCESS_LOGS }); + +export const matchSharedWithMeRoute = (route: string) => + matchPath(route, { path: Routes.SHARED_WITH_ME });