@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.
- package/esm2020/cms/utils/script.utils.mjs +19 -15
- package/esm2020/core/services/flow-state.service.mjs +7 -3
- package/fesm2015/veloceapps-sdk-cms.mjs +18 -14
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +6 -2
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +17 -13
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +6 -2
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/package.json +1 -1
@@ -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: '' });
|