X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f8eb236cca1eaf973676e3b9d5a2fe61a00248d0..795e98eac92b86652d3fe9de6657ffffc009d90e:/src/routes/route-change-handlers.ts diff --git a/src/routes/route-change-handlers.ts b/src/routes/route-change-handlers.ts index b43e84bb..400ddc88 100644 --- a/src/routes/route-change-handlers.ts +++ b/src/routes/route-change-handlers.ts @@ -47,6 +47,7 @@ const handleLocationChange = (store: RootStore) => ({ pathname }: Location) => { const groupDetailsMatch = Routes.matchGroupDetailsRoute(pathname); const linksMatch = Routes.matchLinksRoute(pathname); const collectionsContentAddressMatch = Routes.matchCollectionsContentAddressRoute(pathname); + const allProcessesMatch = Routes.matchAllProcessesRoute(pathname); store.dispatch(dialogActions.CLOSE_ALL_DIALOGS()); store.dispatch(contextMenuActions.CLOSE_CONTEXT_MENU()); @@ -108,5 +109,7 @@ const handleLocationChange = (store: RootStore) => ({ pathname }: Location) => { store.dispatch(WorkbenchActions.loadLinks); } else if (collectionsContentAddressMatch) { store.dispatch(WorkbenchActions.loadCollectionContentAddress); + } else if (allProcessesMatch) { + store.dispatch(WorkbenchActions.loadAllProcesses()); } }; \ No newline at end of file