Skip to content

Commit

Permalink
Merge pull request #4728 from bcgov/dev-NK-4704
Browse files Browse the repository at this point in the history
fix undeclared js variable error
  • Loading branch information
nkan-aot authored Nov 15, 2023
2 parents df158d5 + a14129e commit efc30d0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br></br>The original file that was uploaded will still be available for download.</> }
}
Expand Down

0 comments on commit efc30d0

Please sign in to comment.