From a97af280c9ae6f08ac2a40c3526415f41527737f Mon Sep 17 00:00:00 2001 From: William Wills Date: Fri, 2 Aug 2024 10:41:52 -0400 Subject: [PATCH] fix non-translatable text --- src/renderer/components/blocks/forms/IssuancesForm.tsx | 3 +-- src/renderer/components/blocks/modals/UpsertProjectModal.tsx | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/blocks/forms/IssuancesForm.tsx b/src/renderer/components/blocks/forms/IssuancesForm.tsx index ca30ac75..99e0ed0b 100644 --- a/src/renderer/components/blocks/forms/IssuancesForm.tsx +++ b/src/renderer/components/blocks/forms/IssuancesForm.tsx @@ -16,7 +16,7 @@ const validationSchema = yup.object({ .required('End date is required') .min(yup.ref('startDate'), 'End date must be after the start date'), verificationApproach: yup.string().required('Verification approach is required'), - verificationBody: yup.string().required('Verification body is required'), + verificationBody: yup.string(), verificationReportDate: yup.date().required('Verification report date is required'), }), ), @@ -106,7 +106,6 @@ const IssuancesForm = forwardRef( freeform={true} options={picklistOptions?.verificationBody} readonly={readonly} - required={true} initialValue={issuance.verificationBody || ''} /> = ({ onClose }: UpsertModal error: { data: { message: 'application internal state error. reload the application' } }, }; + console.log(projectFormData); + if (createProjectModalActive) { response = await triggerStageCreateProject(projectFormData); } else if (editProjectModalActive) {