Skip to content

Commit

Permalink
Update modules/imaging_uploader/jsx/UploadForm.js
Browse files Browse the repository at this point in the history
  • Loading branch information
maximemulder authored Nov 6, 2024
1 parent bbe01bf commit c15ed62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/imaging_uploader/jsx/UploadForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ class UploadForm extends Component {
};
}
for (const [key, error] of Object.entries(errorMessage)) {
errorMessage[key] = error.toString();
if (error.length) {
errorMessage[key] = error.toString();
messageToPrint += error + '\n';
} else {
errorMessage[key] = null;
Expand Down

0 comments on commit c15ed62

Please sign in to comment.