subos-frontend 1.0.50 → 1.0.51
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2890,7 +2890,7 @@ var UpgradeSummary = ({
|
|
|
2890
2890
|
e.currentTarget.style.boxShadow = "0 4px 12px rgba(239, 68, 68, 0.3)";
|
|
2891
2891
|
} : void 0,
|
|
2892
2892
|
title: isShowingCurrentPlan ? "This is your current active plan" : shouldContactSupport ? "Please contact support for this change" : void 0,
|
|
2893
|
-
children: loading ? "Loading..." : isShowingCurrentPlan ? "Current Plan" : (checkoutInfo == null ? void 0 : checkoutInfo.proration) === 0 ? "Confirm Changes" : "Upgrade Now"
|
|
2893
|
+
children: loading ? "Loading..." : isShowingCurrentPlan ? "Current Plan" : (checkoutInfo == null ? void 0 : checkoutInfo.proration) === 0 && (currentPlan == null ? void 0 : currentPlan.fixedCost) !== 0 ? "Confirm Changes" : "Upgrade Now"
|
|
2894
2894
|
}
|
|
2895
2895
|
)
|
|
2896
2896
|
] })
|