Skip to content

Commit 8d14076

Browse files
authored
fix: move quotas above inputs (#4376)
1 parent 3759bb2 commit 8d14076

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

site/src/pages/CreateWorkspacePage/CreateWorkspacePageView.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,15 @@ export const CreateWorkspacePageView: FC<React.PropsWithChildren<CreateWorkspace
157157
/>
158158
)}
159159

160+
{props.workspaceQuota && (
161+
<WorkspaceQuota
162+
quota={props.workspaceQuota}
163+
error={
164+
props.createWorkspaceErrors[CreateWorkspaceErrors.GET_WORKSPACE_QUOTA_ERROR]
165+
}
166+
/>
167+
)}
168+
160169
{props.templateSchema.length > 0 && (
161170
<Stack>
162171
{props.templateSchema.map((schema) => (
@@ -175,15 +184,6 @@ export const CreateWorkspacePageView: FC<React.PropsWithChildren<CreateWorkspace
175184
</Stack>
176185
)}
177186

178-
{props.workspaceQuota && (
179-
<WorkspaceQuota
180-
quota={props.workspaceQuota}
181-
error={
182-
props.createWorkspaceErrors[CreateWorkspaceErrors.GET_WORKSPACE_QUOTA_ERROR]
183-
}
184-
/>
185-
)}
186-
187187
<FormFooter
188188
onCancel={props.onCancel}
189189
isLoading={props.creatingWorkspace}

0 commit comments

Comments
 (0)