Commits

Tim Donohue authored and GitHub committed 75c0bf7b61e Merge
Merge pull request #1413 from 4Science/CST-4918

[CST-4918] Process status remains Running in detail page
No tags
gidlmaster

src/app/process-page/process-page.resolver.ts

Modified
16 16 }
17 17
18 18 /**
19 19 * Method for resolving a process based on the parameters in the current route
20 20 * @param {ActivatedRouteSnapshot} route The current ActivatedRouteSnapshot
21 21 * @param {RouterStateSnapshot} state The current RouterStateSnapshot
22 22 * @returns Observable<<RemoteData<Process>> Emits the found process based on the parameters in the current route,
23 23 * or an error if something went wrong
24 24 */
25 25 resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<RemoteData<Process>> {
26 - return this.processService.findById(route.params.id, true, false, followLink('script')).pipe(
26 + return this.processService.findById(route.params.id, false, true, followLink('script')).pipe(
27 27 getFirstCompletedRemoteData(),
28 28 );
29 29 }
30 30 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut