Skip to content

Commit

Permalink
Quota Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tlawrie committed Apr 23, 2024
1 parent a251f1a commit 6041f92
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/Features/TeamDetailed/Quotas/Quotas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function Quotas({ team, canEdit, teamDetailsUrl }: { team: FlowTeam; canEdit: bo
</QuotaCard>
<QuotaCard
subtitle="Workspace size limit for each Workflow using persistent storage on this Team."
title="Workspace size capacity"
title="Workflow Workspace capacity"
modalSubtitle="Set the storage size limit for each Workflow Workspace using persistent storage on this Team."
minValue={0}
detailedTitle="Persistent storage size limit"
Expand All @@ -151,6 +151,24 @@ function Quotas({ team, canEdit, teamDetailsUrl }: { team: FlowTeam; canEdit: bo
>
<h3 className={styles.detailedHeading}> {`${team.quotas.maxWorkflowStorage}GB per Workflow`}</h3>
</QuotaCard>
<QuotaCard
subtitle="Workspace size limit for each WorkflowRun using persistent storage on this Team."
title="WorkflowRun Workspace capacity"
modalSubtitle="Set the storage size limit for each WorkflowRun Workspace using persistent storage on this Team."
minValue={0}
detailedTitle="Persistent storage size limit"
detailedData={`${team.quotas.maxWorkflowRunStorage}GB per Workflow`}
inputLabel="Storage limit"
inputUnits="GB"
stepValue={1}
teamName={team.name}
quotaProperty="maxWorkflowRunStorage"
quotaValue={team.quotas.maxWorkflowRunStorage}
disabled={!canEdit}
teamDetailsUrl={teamDetailsUrl}
>
<h3 className={styles.detailedHeading}> {`${team.quotas.maxWorkflowRunStorage}GB per WorkflowRun`}</h3>
</QuotaCard>
</section>
</section>
);
Expand Down

0 comments on commit 6041f92

Please sign in to comment.