@veloceapps/sdk 10.0.0-11 → 10.0.0-13
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/cms/components/element-tools-panel/element-tools-panel.component.mjs +3 -3
- package/esm2020/core/services/flow-state.service.mjs +5 -5
- package/fesm2015/veloceapps-sdk-cms.mjs +2 -2
- package/fesm2015/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2015/veloceapps-sdk-core.mjs +4 -4
- package/fesm2015/veloceapps-sdk-core.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-cms.mjs +2 -2
- package/fesm2020/veloceapps-sdk-cms.mjs.map +1 -1
- package/fesm2020/veloceapps-sdk-core.mjs +4 -4
- package/fesm2020/veloceapps-sdk-core.mjs.map +1 -1
- package/package.json +1 -1
@@ -617,8 +617,8 @@ class FlowStateService {
|
|
617
617
|
else {
|
618
618
|
const quoteDraft = this.quoteDraftService.quoteDraft;
|
619
619
|
if (quoteDraft) {
|
620
|
-
return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({
|
621
|
-
this.contextService.update({ properties: {
|
620
|
+
return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
|
621
|
+
this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
|
622
622
|
}));
|
623
623
|
}
|
624
624
|
}
|
@@ -633,8 +633,8 @@ class FlowStateService {
|
|
633
633
|
else {
|
634
634
|
const quoteDraft = this.quoteDraftService.quoteDraft;
|
635
635
|
if (quoteDraft) {
|
636
|
-
return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({
|
637
|
-
this.contextService.update({ properties: {
|
636
|
+
return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
|
637
|
+
this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
|
638
638
|
}));
|
639
639
|
}
|
640
640
|
}
|