@veloceapps/sdk 5.0.13-4 → 5.0.13-6

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.
@@ -3086,16 +3086,16 @@
3086
3086
  }
3087
3087
  var queryParams = route.queryParams;
3088
3088
  return this.quoteDraftService.init(headerId, queryParams).pipe(rxjs.switchMap(function () { return _this.calculate$(); }), rxjs.tap(function () {
3089
- if (_this.quoteDraftService.isStandalone) {
3090
- return;
3091
- }
3092
- if (_this.accountHasNotAssets()) {
3093
- _this.changeNavigation('/empty', route);
3094
- }
3095
- else if (!_this.quoteDraftService.isInitialized && _this.quoteDraftService.hasAssets) {
3096
- _this.changeNavigation('/cart', route);
3089
+ if (!_this.quoteDraftService.isStandalone) {
3090
+ if (_this.accountHasNotAssets()) {
3091
+ _this.changeNavigation('/empty', route);
3092
+ }
3093
+ else if (!_this.quoteDraftService.isInitialized && _this.quoteDraftService.hasAssets) {
3094
+ _this.changeNavigation('/cart', route);
3095
+ }
3097
3096
  }
3098
3097
  _this.quoteDraftService.isInitialized = true;
3098
+ _this.quoteDraftService.hasUnsavedChanges = false;
3099
3099
  }), rxjs.catchError(function (e) {
3100
3100
  var message = e instanceof http.HttpErrorResponse ? e.error.message : e;
3101
3101
  return _this.handleError(route, message);