@veloceapps/sdk 10.0.0-12 → 10.0.0-13
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.
@@ -652,8 +652,8 @@ class FlowStateService {
|
|
652
652
|
else {
|
653
653
|
const quoteDraft = this.quoteDraftService.quoteDraft;
|
654
654
|
if (quoteDraft) {
|
655
|
-
return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({
|
656
|
-
this.contextService.update({ properties: {
|
655
|
+
return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
|
656
|
+
this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
|
657
657
|
}));
|
658
658
|
}
|
659
659
|
}
|
@@ -668,8 +668,8 @@ class FlowStateService {
|
|
668
668
|
else {
|
669
669
|
const quoteDraft = this.quoteDraftService.quoteDraft;
|
670
670
|
if (quoteDraft) {
|
671
|
-
return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({
|
672
|
-
this.contextService.update({ properties: {
|
671
|
+
return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ versionId }) => {
|
672
|
+
this.contextService.update({ properties: { VELOCPQ__VersionId__c: versionId } });
|
673
673
|
}));
|
674
674
|
}
|
675
675
|
}
|