X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8dd64fbb819524cb3f86f5313b44fe228a20165d..795e98eac92b86652d3fe9de6657ffffc009d90e:/src/routes/routes.ts diff --git a/src/routes/routes.ts b/src/routes/routes.ts index bb518d3fcf..191fe11b0c 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -47,6 +47,7 @@ export const Routes = { LINKS: '/links', PUBLIC_FAVORITES: '/public-favorites', COLLECTIONS_CONTENT_ADDRESS: '/collections/:id', + ALL_PROCESSES: '/all_processes', }; export const getResourceUrl = (uuid: string) => { @@ -111,6 +112,9 @@ export const matchFavoritesRoute = (route: string) => export const matchTrashRoute = (route: string) => matchPath(route, { path: Routes.TRASH }); +export const matchAllProcessesRoute = (route: string) => + matchPath(route, { path: Routes.ALL_PROCESSES }); + export const matchProjectRoute = (route: string) => matchPath(route, { path: Routes.PROJECTS });