@veloceapps/sdk 9.0.0-20 → 9.0.0-21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -217,9 +217,11 @@ class FlowInfoService {
217
217
  this.flowSubj$ = new BehaviorSubject(null);
218
218
  this.flow$ = this.flowSubj$.asObservable();
219
219
  }
220
- init$(flowId, params) {
221
- this.params = params;
222
- return this.flowsApiService.getFlow(flowId).pipe(switchMap(flow => this.initFlowTemplates$(flow).pipe(map$1(() => flow))), tap$1(flow => this.flowSubj$.next(flow)), map$1(noop), catchError(e => {
220
+ init$(flowId, routeQueryParams) {
221
+ return this.flowsApiService.getFlow(flowId).pipe(switchMap(flow => this.initFlowTemplates$(flow).pipe(map$1(() => flow))), tap$1(flow => {
222
+ this.params = { ...routeQueryParams, ...flow.properties.queryParams };
223
+ this.flowSubj$.next(flow);
224
+ }), map$1(noop), catchError(e => {
223
225
  this.flowSubj$.next(null);
224
226
  return throwError(() => e);
225
227
  }));