diff --git a/packages/design/src/FormManager/FormEdit/components/FormSummaryEdit.tsx b/packages/design/src/FormManager/FormEdit/components/FormSummaryEdit.tsx index d67451ecd..0c8130bc6 100644 --- a/packages/design/src/FormManager/FormEdit/components/FormSummaryEdit.tsx +++ b/packages/design/src/FormManager/FormEdit/components/FormSummaryEdit.tsx @@ -1,3 +1,4 @@ +import classNames from 'classnames'; import React from 'react'; import { type FormSummaryProps } from '@atj/forms'; @@ -8,7 +9,7 @@ import { PatternEditComponent } from '../types'; import { PatternEditForm } from './common/PatternEditForm'; import { usePatternEditFormContext } from './common/hooks'; -import classNames from 'classnames'; +import { PatternEditActions } from './common/PatternEditActions'; const FormSummaryEdit: PatternEditComponent = ({ focus, @@ -80,6 +81,9 @@ const EditComponent = ({ pattern }: { pattern: Pattern }) => { > +
+ +
); }; diff --git a/packages/design/src/FormManager/FormEdit/components/common/PatternEditActions.tsx b/packages/design/src/FormManager/FormEdit/components/common/PatternEditActions.tsx index e7379fa03..dcc63fe75 100644 --- a/packages/design/src/FormManager/FormEdit/components/common/PatternEditActions.tsx +++ b/packages/design/src/FormManager/FormEdit/components/common/PatternEditActions.tsx @@ -68,6 +68,22 @@ export const PatternEditActions = ({ children }: PatternEditActionsProps) => { + + {children ? ( {children} diff --git a/packages/design/src/FormManager/FormEdit/components/common/PatternEditForm.tsx b/packages/design/src/FormManager/FormEdit/components/common/PatternEditForm.tsx index b6f996db2..fa39a36b6 100644 --- a/packages/design/src/FormManager/FormEdit/components/common/PatternEditForm.tsx +++ b/packages/design/src/FormManager/FormEdit/components/common/PatternEditForm.tsx @@ -51,9 +51,6 @@ export const PatternEditForm = ({
{editComponent}
- );