@veloceapps/sdk 8.0.0-176 → 8.0.0-178

Sign up to get free protection for your applications and to get access to all the features.
@@ -923,7 +923,9 @@ class FlowStateService {
923
923
  else {
924
924
  const quoteDraft = this.quoteDraftService.quoteDraftForActivePriceList;
925
925
  if (quoteDraft) {
926
- return this.quoteApiService.upsertQuote(quoteDraft);
926
+ return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
927
+ this.contextService.update({ properties: { ConfigurationId: configurationId } });
928
+ }));
927
929
  }
928
930
  }
929
931
  return of({ quoteId: '' });
@@ -937,7 +939,9 @@ class FlowStateService {
937
939
  else {
938
940
  const quoteDraft = this.quoteDraftService.quoteDraftForActivePriceList;
939
941
  if (quoteDraft) {
940
- return this.quoteApiService.submitQuote(quoteDraft);
942
+ return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
943
+ this.contextService.update({ properties: { ConfigurationId: configurationId } });
944
+ }));
941
945
  }
942
946
  }
943
947
  return of({ quoteId: '' });