licensing changes

This commit is contained in:
Lalit Deore
2026-04-16 18:13:23 +05:30
parent d906861bc8
commit 70d3dc3b6a
2 changed files with 8 additions and 4 deletions
+4 -4
View File
@@ -81,7 +81,7 @@ const ProductionStatus = ({ selectedOrganization, userdata, isCloud, theme }) =>
}
const themeMode = theme.palette.mode;
const workflowActive = selectedOrganization?.sync_features?.workflow_executions?.active;
const workflowActive = selectedOrganization?.sync_features?.app_executions?.active;
const multiTenantActive = selectedOrganization?.sync_features?.multi_tenant?.active;
const multiEnvActive = selectedOrganization?.sync_features?.multi_env?.active;
const brandingActive = selectedOrganization?.sync_features?.branding?.active;
@@ -104,9 +104,9 @@ const ProductionStatus = ({ selectedOrganization, userdata, isCloud, theme }) =>
const features = [
{
icon: ZapIcon,
label: 'Workflow Executions',
licensed: `${selectedOrganization?.sync_features?.workflow_executions?.limit}/month limit`,
unlicensed: '10,000/month limit',
label: 'App Runs',
licensed: `${selectedOrganization?.sync_features?.app_executions?.limit}/month limit`,
unlicensed: '25,000/month limit',
isActive: workflowActive,
},
{
+4
View File
@@ -777,6 +777,10 @@ const CloudSyncTab = (props) => {
newname = "app runs"
}
if (key === "onprem_app_executions" && userdata.support !== true && !isCloud) {
return null
}
const griditem = {
primary: newkey,
secondary: