diff --git a/frontend/packages/react-form-wizard/wizards/Policy/PolicyWizard.tsx b/frontend/packages/react-form-wizard/wizards/Policy/PolicyWizard.tsx index d9fe6278860..048a979a667 100644 --- a/frontend/packages/react-form-wizard/wizards/Policy/PolicyWizard.tsx +++ b/frontend/packages/react-form-wizard/wizards/Policy/PolicyWizard.tsx @@ -68,7 +68,7 @@ export function PolicyWizard(props: { { ...PolicyType, metadata: { name: '', namespace: '' }, - spec: { disabled: false }, + spec: { disabled: false, 'policy-templates': [] }, }, ] } diff --git a/frontend/src/wizards/Governance/Policy/PolicyWizard.tsx b/frontend/src/wizards/Governance/Policy/PolicyWizard.tsx index 19a017509da..70e6a1353aa 100644 --- a/frontend/src/wizards/Governance/Policy/PolicyWizard.tsx +++ b/frontend/src/wizards/Governance/Policy/PolicyWizard.tsx @@ -84,7 +84,7 @@ export function PolicyWizard(props: { { ...PolicyType, metadata: { name: '', namespace: '' }, - spec: { disabled: false }, + spec: { disabled: false, 'policy-templates': [] }, }, ]