19744: Made the resource usage report button obvious
[arvados.git] / services / workbench2 / src / routes / routes.ts
index 4dfd998e8dadcc08450fc727b4389c03d199c5c0..cbb09a500d9117d7556bcc5db657199b88994116 100644 (file)
@@ -35,6 +35,7 @@ export const Routes = {
     SEARCH_RESULTS: '/search-results',
     SSH_KEYS_ADMIN: `/ssh-keys-admin`,
     SSH_KEYS_USER: `/ssh-keys-user`,
+    INSTANCE_TYPES: `/instance-types`,
     SITE_MANAGER: `/site-manager`,
     MY_ACCOUNT: '/my-account',
     LINK_ACCOUNT: '/link_account',
@@ -161,9 +162,12 @@ export const matchRepositoriesRoute = (route: string) =>
 export const matchSshKeysUserRoute = (route: string) =>
     matchPath(route, { path: Routes.SSH_KEYS_USER });
 
-export const matchSshKeysAdminRoute = (route: string) =>
+    export const matchSshKeysAdminRoute = (route: string) =>
     matchPath(route, { path: Routes.SSH_KEYS_ADMIN });
 
+export const matchInstanceTypesRoute = (route: string) =>
+    matchPath(route, { path: Routes.INSTANCE_TYPES });
+
 export const matchSiteManagerRoute = (route: string) =>
     matchPath(route, { path: Routes.SITE_MANAGER });