fix(namespace): create page layout [EE-6385] (#10675)

pull/10680/head
Ali 2023-11-22 15:37:11 +13:00 committed by GitHub
parent 936a71ee00
commit a4926e5237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View File

@ -27,7 +27,10 @@ export function CreateNamespaceView() {
<div className="form-horizontal">
<PageHeader
title="Create a namespace"
breadcrumbs="Create a namespace"
breadcrumbs={[
{ label: 'Namespaces', link: 'kubernetes.resourcePools' },
'Create a namespace',
]}
reload
/>

View File

@ -103,15 +103,13 @@ export function NamespaceInnerForm({
values={values}
isValid={isValid}
/>
<FormSection title="Actions">
<FormActions
submitLabel="Create namespace"
loadingText="Creating namespace"
isLoading={isSubmitting}
isValid={isValid}
data-cy="k8sNamespaceCreate-submitButton"
/>
</FormSection>
<FormActions
submitLabel="Create namespace"
loadingText="Creating namespace"
isLoading={isSubmitting}
isValid={isValid}
data-cy="k8sNamespaceCreate-submitButton"
/>
</Form>
);
}