X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/7a81b9d2c37ceb5add5df8fe9fe48b409d971e37..f4e410a5984226818301332c25ac178403c2e0e9:/src/routes/routes.ts diff --git a/src/routes/routes.ts b/src/routes/routes.ts index f447975b..05f6663f 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -29,7 +29,8 @@ export const Routes = { KEEP_SERVICES: `/keep-services`, COMPUTE_NODES: `/nodes`, USERS: '/users', - API_CLIENT_AUTHORIZATIONS: `/api_client_authorizations` + API_CLIENT_AUTHORIZATIONS: `/api_client_authorizations`, + LINKS: '/links' }; export const getResourceUrl = (uuid: string) => { @@ -116,3 +117,6 @@ export const matchComputeNodesRoute = (route: string) => export const matchApiClientAuthorizationsRoute = (route: string) => matchPath(route, { path: Routes.API_CLIENT_AUTHORIZATIONS }); + +export const matchLinksRoute = (route: string) => + matchPath(route, { path: Routes.LINKS }); \ No newline at end of file