From 07e04a970a7a67aa87052c3cc7c0d96000d8f1f1 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 17 Aug 2023 01:21:24 -0400 Subject: [PATCH] fix(striker-ui): add form summary to manage manifest forms --- .../components/ManageManifest/ManageManifestPanel.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/striker-ui/components/ManageManifest/ManageManifestPanel.tsx b/striker-ui/components/ManageManifest/ManageManifestPanel.tsx index 1e5ffed2..d360b263 100644 --- a/striker-ui/components/ManageManifest/ManageManifestPanel.tsx +++ b/striker-ui/components/ManageManifest/ManageManifestPanel.tsx @@ -26,6 +26,7 @@ import ConfirmDialog from '../ConfirmDialog'; import EditManifestInputGroup from './EditManifestInputGroup'; import FlexBox from '../FlexBox'; import FormDialog from '../FormDialog'; +import FormSummary from '../FormSummary'; import handleAPIError from '../../lib/handleAPIError'; import IconButton from '../IconButton'; import List from '../List'; @@ -282,7 +283,7 @@ const ManageManifestPanel: FC = () => { setConfirmDialogProps({ actionProceedText: 'Add', - content: <>, + content: , onProceedAppend: () => { submitForm({ body, @@ -329,7 +330,7 @@ const ManageManifestPanel: FC = () => { setConfirmDialogProps({ actionProceedText: 'Edit', - content: <>, + content: , onProceedAppend: () => { submitForm({ body, @@ -380,7 +381,7 @@ const ManageManifestPanel: FC = () => { setConfirmDialogProps({ actionProceedText: 'Run', - content: <>, + content: , onProceedAppend: () => { submitForm({ body, @@ -614,6 +615,7 @@ const ManageManifestPanel: FC = () => { closeOnProceed {...confirmDialogProps} ref={confirmDialogRef} + scrollContent /> );