X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/4b961d16b8f8ef8afbd13697a79fe4684acd0416..23199ed951991534b1c582dce5b609f758f50a68:/src/routes/route-change-handlers.ts diff --git a/src/routes/route-change-handlers.ts b/src/routes/route-change-handlers.ts index 50ba319e..b43e84bb 100644 --- a/src/routes/route-change-handlers.ts +++ b/src/routes/route-change-handlers.ts @@ -41,6 +41,7 @@ const handleLocationChange = (store: RootStore) => ({ pathname }: Location) => { const computeNodesMatch = Routes.matchComputeNodesRoute(pathname); const apiClientAuthorizationsMatch = Routes.matchApiClientAuthorizationsRoute(pathname); const myAccountMatch = Routes.matchMyAccountRoute(pathname); + const linkAccountMatch = Routes.matchLinkAccountRoute(pathname); const userMatch = Routes.matchUsersRoute(pathname); const groupsMatch = Routes.matchGroupsRoute(pathname); const groupDetailsMatch = Routes.matchGroupDetailsRoute(pathname); @@ -95,6 +96,8 @@ const handleLocationChange = (store: RootStore) => ({ pathname }: Location) => { store.dispatch(WorkbenchActions.loadApiClientAuthorizations); } else if (myAccountMatch) { store.dispatch(WorkbenchActions.loadMyAccount); + } else if (linkAccountMatch) { + store.dispatch(WorkbenchActions.loadLinkAccount); } else if (userMatch) { store.dispatch(WorkbenchActions.loadUsers); } else if (groupsMatch) {