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 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 multiTenantActive = selectedOrganization?.sync_features?.multi_tenant?.active;
|
||||||
const multiEnvActive = selectedOrganization?.sync_features?.multi_env?.active;
|
const multiEnvActive = selectedOrganization?.sync_features?.multi_env?.active;
|
||||||
const brandingActive = selectedOrganization?.sync_features?.branding?.active;
|
const brandingActive = selectedOrganization?.sync_features?.branding?.active;
|
||||||
@@ -104,9 +104,9 @@ const ProductionStatus = ({ selectedOrganization, userdata, isCloud, theme }) =>
|
|||||||
const features = [
|
const features = [
|
||||||
{
|
{
|
||||||
icon: ZapIcon,
|
icon: ZapIcon,
|
||||||
label: 'Workflow Executions',
|
label: 'App Runs',
|
||||||
licensed: `${selectedOrganization?.sync_features?.workflow_executions?.limit}/month limit`,
|
licensed: `${selectedOrganization?.sync_features?.app_executions?.limit}/month limit`,
|
||||||
unlicensed: '10,000/month limit',
|
unlicensed: '25,000/month limit',
|
||||||
isActive: workflowActive,
|
isActive: workflowActive,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -777,6 +777,10 @@ const CloudSyncTab = (props) => {
|
|||||||
newname = "app runs"
|
newname = "app runs"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((key === "onprem_app_executions" && userdata.support !== true) || !isCloud) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
|
||||||
const griditem = {
|
const griditem = {
|
||||||
primary: newkey,
|
primary: newkey,
|
||||||
secondary:
|
secondary:
|
||||||
|
|||||||
Reference in New Issue
Block a user