X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/cc72c29b709759a4498ad232e3f0374e857c7a62..ceda57340f34d71fb4289b344e6ca839db06f5e7:/src/routes/routes.ts diff --git a/src/routes/routes.ts b/src/routes/routes.ts index 5cd3e559..8f8fa06b 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -23,7 +23,8 @@ export const Routes = { WORKFLOWS: '/workflows', SEARCH_RESULTS: '/search-results', SSH_KEYS: `/ssh-keys`, - KEEP_SERVICES: `/keep-services` + KEEP_SERVICES: `/keep-services`, + COMPUTE_NODES: `/nodes` }; export const getResourceUrl = (uuid: string) => { @@ -92,3 +93,6 @@ export const matchSshKeysRoute = (route: string) => export const matchKeepServicesRoute = (route: string) => matchPath(route, { path: Routes.KEEP_SERVICES }); + +export const matchComputeNodesRoute = (route: string) => + matchPath(route, { path: Routes.COMPUTE_NODES }); \ No newline at end of file