@veloceapps/sdk 5.0.9 → 5.0.10

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.
@@ -1481,7 +1481,9 @@
1481
1481
  !this.quoteDraftService.hasAssets);
1482
1482
  };
1483
1483
  FlowHeaderComponent.prototype.isUpsellQuoteWithoutChanges = function () {
1484
- return this.quoteDraftService.activeCurrentState.every(function (lineItem) { return lineItem.actionCode === 'EXIST'; });
1484
+ var noUpdates = this.quoteDraftService.activeCurrentState.every(function (lineItem) { return lineItem.actionCode === 'EXIST'; });
1485
+ var sameNumberOfProducts = this.quoteDraftService.getInitialCurrentState().length === this.quoteDraftService.activeCurrentState.length;
1486
+ return noUpdates && sameNumberOfProducts;
1485
1487
  };
1486
1488
  return FlowHeaderComponent;
1487
1489
  }());