Merge pull request #1968 from LalitDeore/license-changes
Minor frontend fixes
This commit is contained in:
@@ -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,
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user