X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/28b6afc1e8ccf652c7a8fd43e22a8ac788febd85..cba86260ec62023c8b440a974f8fe0bd63b3f004:/services/workbench2/src/routes/route-change-handlers.ts diff --git a/services/workbench2/src/routes/route-change-handlers.ts b/services/workbench2/src/routes/route-change-handlers.ts index bdc1ddc063..5888745253 100644 --- a/services/workbench2/src/routes/route-change-handlers.ts +++ b/services/workbench2/src/routes/route-change-handlers.ts @@ -36,6 +36,7 @@ const handleLocationChange = (store: RootStore) => ({ pathname }: Location) => { const virtualMachineAdminMatch = Routes.matchAdminVirtualMachineRoute(pathname); const sshKeysUserMatch = Routes.matchSshKeysUserRoute(pathname); const sshKeysAdminMatch = Routes.matchSshKeysAdminRoute(pathname); + const instanceTypesMatch = Routes.matchInstanceTypesRoute(pathname); const siteManagerMatch = Routes.matchSiteManagerRoute(pathname); const keepServicesMatch = Routes.matchKeepServicesRoute(pathname); const apiClientAuthorizationsMatch = Routes.matchApiClientAuthorizationsRoute(pathname); @@ -92,6 +93,8 @@ const handleLocationChange = (store: RootStore) => ({ pathname }: Location) => { store.dispatch(WorkbenchActions.loadSshKeys); } else if (sshKeysAdminMatch) { store.dispatch(WorkbenchActions.loadSshKeys); + } else if (instanceTypesMatch) { + store.dispatch(WorkbenchActions.loadInstanceTypes); } else if (siteManagerMatch) { store.dispatch(WorkbenchActions.loadSiteManager); } else if (keepServicesMatch) {