fix: move quotas above inputs (#4376)

This commit is contained in:
Garrett Delfosse
2022-10-05 13:44:15 -04:00
committed by GitHub
parent 3759bb2a9a
commit 8d14076a23
@@ -157,6 +157,15 @@ export const CreateWorkspacePageView: FC<React.PropsWithChildren<CreateWorkspace
/>
)}
{props.workspaceQuota && (
<WorkspaceQuota
quota={props.workspaceQuota}
error={
props.createWorkspaceErrors[CreateWorkspaceErrors.GET_WORKSPACE_QUOTA_ERROR]
}
/>
)}
{props.templateSchema.length > 0 && (
<Stack>
{props.templateSchema.map((schema) => (
@@ -175,15 +184,6 @@ export const CreateWorkspacePageView: FC<React.PropsWithChildren<CreateWorkspace
</Stack>
)}
{props.workspaceQuota && (
<WorkspaceQuota
quota={props.workspaceQuota}
error={
props.createWorkspaceErrors[CreateWorkspaceErrors.GET_WORKSPACE_QUOTA_ERROR]
}
/>
)}
<FormFooter
onCancel={props.onCancel}
isLoading={props.creatingWorkspace}