From 71b5dff8798c1be0cd6facac2a0daddecd653c04 Mon Sep 17 00:00:00 2001 From: Maks Turtiainen Date: Tue, 11 Jul 2023 21:34:24 +0300 Subject: [PATCH] Fix wrong attachment type --- .../employmentView/employmentActions/EmploymentActions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/benefit/handler/src/components/applicationReview/employmentView/employmentActions/EmploymentActions.tsx b/frontend/benefit/handler/src/components/applicationReview/employmentView/employmentActions/EmploymentActions.tsx index a53aa0c9c6..b6fb76210d 100644 --- a/frontend/benefit/handler/src/components/applicationReview/employmentView/employmentActions/EmploymentActions.tsx +++ b/frontend/benefit/handler/src/components/applicationReview/employmentView/employmentActions/EmploymentActions.tsx @@ -38,7 +38,7 @@ const EmploymentActions: React.FC = ({ 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`)}