@veloceapps/sdk 8.0.0-177 → 8.0.0-179
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.
|
@@ -978,7 +978,9 @@ class FlowStateService {
|
|
|
978
978
|
else {
|
|
979
979
|
const quoteDraft = this.quoteDraftService.quoteDraftForActivePriceList;
|
|
980
980
|
if (quoteDraft) {
|
|
981
|
-
return this.quoteApiService.upsertQuote(quoteDraft)
|
|
981
|
+
return this.quoteApiService.upsertQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
|
|
982
|
+
this.contextService.update({ properties: { ConfigurationId: configurationId } });
|
|
983
|
+
}));
|
|
982
984
|
}
|
|
983
985
|
}
|
|
984
986
|
return of({ quoteId: '' });
|
|
@@ -992,7 +994,9 @@ class FlowStateService {
|
|
|
992
994
|
else {
|
|
993
995
|
const quoteDraft = this.quoteDraftService.quoteDraftForActivePriceList;
|
|
994
996
|
if (quoteDraft) {
|
|
995
|
-
return this.quoteApiService.submitQuote(quoteDraft)
|
|
997
|
+
return this.quoteApiService.submitQuote(quoteDraft).pipe(tap$1(({ configurationId }) => {
|
|
998
|
+
this.contextService.update({ properties: { ConfigurationId: configurationId } });
|
|
999
|
+
}));
|
|
996
1000
|
}
|
|
997
1001
|
}
|
|
998
1002
|
return of({ quoteId: '' });
|