@veloceapps/sdk 9.0.0-1 → 9.0.0-2

Sign up to get free protection for your applications and to get access to all the features.
@@ -776,7 +776,12 @@ class FlowStateService {
776
776
  if (assets) {
777
777
  this.flowStore = { ...this.flowStore, assets };
778
778
  }
779
- }), switchMap(() => this.executeRequest$(this.getDefaultExecutionRequestDTO())), switchMap(() => this.calculate$()), tap$1(() => this.quoteDraftService.finalizeInit()), map$1(noop));
779
+ }), switchMap(() => {
780
+ if (this.flowInfoService.isLegacy) {
781
+ return of(null);
782
+ }
783
+ return this.executeRequest$(this.getDefaultExecutionRequestDTO());
784
+ }), switchMap(() => this.calculate$()), tap$1(() => this.quoteDraftService.finalizeInit()), map$1(noop));
780
785
  }
781
786
  calculate$() {
782
787
  const flowState = this.quoteDraftService.quoteDraft;