mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: move quotas above inputs (#4376)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user