Merge branch 'master' of git.curoverse.com:arvados-workbench2 into 14512_admin_links
[arvados-workbench2.git] / src / routes / routes.ts
index f447975b12da7d97e2e84d77a1813e8f5ec80056..05f6663fe3c2bbb8021423249e5e045263ab3be7 100644 (file)
@@ -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