@veloceapps/sdk 3.1.21 → 3.1.22
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.
@@ -835,7 +835,7 @@
|
|
835
835
|
var quoteId = _c.quoteId;
|
836
836
|
_this.quoteDraftService.hasUnsavedChanges = false;
|
837
837
|
_this.back(quoteId);
|
838
|
-
}), rxjs.finalize(function () { return _this.isSaveInProgress$.next(false); }))
|
838
|
+
}), rxjs.finalize(function () { return _this.isSaveInProgress$.next(false); }), rxjs.takeUntil(this.destroyed$))
|
839
839
|
.subscribe();
|
840
840
|
};
|
841
841
|
FlowHeaderComponent.prototype.submitButtonClickHandler = function () {
|
@@ -855,9 +855,10 @@
|
|
855
855
|
this.isSubmitInProgress$.next(true);
|
856
856
|
this.quoteApiService
|
857
857
|
.submitQuote(quoteDraft)
|
858
|
-
.pipe(rxjs.
|
859
|
-
|
858
|
+
.pipe(rxjs.tap(function (_c) {
|
859
|
+
var quoteId = _c.quoteId;
|
860
860
|
_this.quoteDraftService.hasUnsavedChanges = false;
|
861
|
+
_this.back(quoteId);
|
861
862
|
}), rxjs.finalize(function () { return _this.isSubmitInProgress$.next(false); }), rxjs.takeUntil(this.destroyed$))
|
862
863
|
.subscribe();
|
863
864
|
};
|