: null}
@@ -517,23 +574,17 @@ const LicencePopup = (props) => {
: null}
- {subscription.name.includes("Scale") ?
- ""
- :
-
- userdata.has_card_available === true ?
- "While you have a card attached to your account, Shuffle will no longer prevent workflows from running. Billing will occur at the start of each month."
- :
+ {
isCloud ?
- userdata?.app_execution_limit && userdata?.app_execution_limit >= 300000 ?
- "You have subscribed to the Enterprise plan, which includes " + (userdata?.app_execution_limit/1000) + "K app runs/month. You can increase the limit by upgrading current plan. Contact support@shuffler.io for more information." :
- `You are not subscribed to any plan and are using the free plan with max 10,000 app runs per month. Upgrade to deactivate this limit.`
+ userdata?.app_execution_limit && userdata?.app_execution_limit !== 10000 ?
+ "You have already subscribed to the Scale plan, which includes " + (userdata?.app_execution_limit/1000) + "K app runs/month. You can increase the limit by upgrading current plan. Contact support@shuffler.io for more information." :
+ `You are using free Starter plan with max ${userdata?.app_execution_limit === 10000 ? "10,000" : "2,000"} runs per month. Upgrade to increase this limit.`
:
`You are not subscribed to any plan and are using the free, open source plan. This plan has no enforced limits, but scale issues may occur due to CPU congestion.`
}
- {isCloud && (userdata.has_card_available === true || selectedOrganization?.Billing?.Email?.length > 0 )?
+ {/* {isCloud && (userdata.has_card_available === true || selectedOrganization?.Billing?.Email?.length > 0 )?