From a14129e983a680e49f81714123dcef240f891057 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Nov 2023 14:58:01 -0800 Subject: [PATCH] fix undeclared js variable error --- .../FOI/customComponents/Attachments/AttachmentModal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/forms-flow-web/src/components/FOI/customComponents/Attachments/AttachmentModal.js b/forms-flow-web/src/components/FOI/customComponents/Attachments/AttachmentModal.js index 77204dfe1..4c471d339 100644 --- a/forms-flow-web/src/components/FOI/customComponents/Attachments/AttachmentModal.js +++ b/forms-flow-web/src/components/FOI/customComponents/Attachments/AttachmentModal.js @@ -243,6 +243,7 @@ export default function AttachmentModal({ return {title: "Add Attachment", body: ""}; } case "replaceattachment": + let _message = {}; if (uploadFor === 'record') { _message = {title: "Replace Records", body:<>Replace the existing record with a reformatted or updated version of the same record.

The original file that was uploaded will still be available for download. } }