fix: show the fields on the document at the subject selection page

This commit is contained in:
Ephraim Atta-Duncan
2024-01-29 00:47:11 +00:00
parent 671fd916b5
commit 6d5fe4eea3
3 changed files with 100 additions and 2 deletions

View File

@ -38,6 +38,7 @@ import {
DocumentFlowFormContainerHeader,
DocumentFlowFormContainerStep,
} from './document-flow-root';
import { SubjectFieldItem } from './subject-field-item';
import type { DocumentFlowStep } from './types';
export type AddSubjectFormProps = {
@ -98,6 +99,10 @@ export const AddSubjectFormPartial = ({
/>
<DocumentFlowFormContainerContent>
<div className="flex flex-col">
{fields.map((field, index) => (
<SubjectFieldItem key={index} field={field} recipients={recipients} />
))}
<div className="flex flex-col gap-y-4">
<div>
<Label htmlFor="subject">