Skip to content

Commit

Permalink
fix non-translatable text
Browse files Browse the repository at this point in the history
  • Loading branch information
wwills2 committed Aug 2, 2024
1 parent 47447f3 commit a97af28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/renderer/components/blocks/forms/IssuancesForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
}),
),
Expand Down Expand Up @@ -106,7 +106,6 @@ const IssuancesForm = forwardRef<IssuancesFormRef, IssuancesFormProps>(
freeform={true}
options={picklistOptions?.verificationBody}
readonly={readonly}
required={true}
initialValue={issuance.verificationBody || ''}
/>
<Field
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/components/blocks/modals/UpsertProjectModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ const UpsertProjectModal: React.FC<UpsertModalProps> = ({ onClose }: UpsertModal
error: { data: { message: 'application internal state error. reload the application' } },
};

console.log(projectFormData);

if (createProjectModalActive) {
response = await triggerStageCreateProject(projectFormData);
} else if (editProjectModalActive) {
Expand Down

0 comments on commit a97af28

Please sign in to comment.