@itilite/iui-user-management 1.4.948 → 1.4.949

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.
@@ -2820,7 +2820,7 @@ var CardsManagement = function CardsManagement(_ref) {
2820
2820
  var cardExpDate = new Date(parseInt(card.card.exp_year, 10), parseInt(card.card.exp_month, 10) - 1);
2821
2821
  var timeDiff = cardExpDate.getTime() - currentDate.getTime();
2822
2822
  var daysToExpire = Math.ceil(timeDiff / (1000 * 3600 * 24));
2823
- var expiresSoon = daysToExpire <= 30 && !isExpired && daysToExpire >= 0;
2823
+ var expiresSoon = daysToExpire <= 30 && !isExpired;
2824
2824
  var showMenuButton = !isExpired && (cardsCount === 1 || cardsCount > 1 && !isDefaultCard);
2825
2825
  return /*#__PURE__*/React.createElement("div", {
2826
2826
  key: card.id,