Merge pull request #1968 from LalitDeore/license-changes

Minor frontend fixes
This commit is contained in:
Frikky
2026-04-16 16:14:49 +02:00
committed by GitHub
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: