Commits
Tim Donohue authored and GitHub committed 75c0bf7b61e Merge
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 | } |