Skip to content

Commit

Permalink
Merge pull request #2150 from City-of-Helsinki/HL-638-handler-attachment
Browse files Browse the repository at this point in the history
HL-638: Fix wrong attachment type
  • Loading branch information
sirtawast authored Jul 30, 2023
2 parents 5de1b79 + 71b5dff commit 7b67120
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const EmploymentActions: React.FC<UploadProps> = ({
variant="secondary"
onUpload={handleUpload}
isUploading={isUploading}
attachmentType={ATTACHMENT_TYPES.PAY_SUBSIDY_CONTRACT}
attachmentType={ATTACHMENT_TYPES.EMPLOYMENT_CONTRACT}
allowedFileTypes={['application/pdf']}
maxSize={ATTACHMENT_MAX_SIZE}
uploadText={t(`${translationsBase}.addAttachment`)}
Expand Down

0 comments on commit 7b67120

Please sign in to comment.