@salesgenterp/ui-components 0.4.466 → 0.4.467

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.
package/dist/index.js CHANGED
@@ -13193,7 +13193,7 @@ var CheckoutPageComponent = function CheckoutPageComponent(_ref) {
13193
13193
  try {
13194
13194
  var taxAmount = totalTaxAmount || 0;
13195
13195
  var _temp11 = function (_cartData$cartLineIte) {
13196
- if (shippingAddressId && (cartData === null || cartData === void 0 ? void 0 : (_cartData$cartLineIte = cartData.cartLineItemDtoList) === null || _cartData$cartLineIte === void 0 ? void 0 : _cartData$cartLineIte.length) > 0 && shippingAddressId !== previousShippingAddressIdRef.current) {
13196
+ if (shippingAddressId && (cartData === null || cartData === void 0 ? void 0 : (_cartData$cartLineIte = cartData.cartLineItemDtoList) === null || _cartData$cartLineIte === void 0 ? void 0 : _cartData$cartLineIte.length) > 0 && shippingAddressId && (shippingAddressId !== previousShippingAddressIdRef.current || (cartData === null || cartData === void 0 ? void 0 : cartData.cartSubTotal) !== previousSubTotalRef.current)) {
13197
13197
  previousShippingAddressIdRef.current = shippingAddressId;
13198
13198
  var _temp10 = _catch(function () {
13199
13199
  return Promise.resolve(getTaxData({