Skip to content

Commit

Permalink
Display error correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
estebangallego committed Oct 23, 2024
1 parent e96ce66 commit 96c70bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/renderer/file-upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,10 @@ export default {
}
if (displayMessage.length > 0) {
const data = JSON.parse(displayMessage);
if (data.message) {
displayMessage = data.message;
}
window.ProcessMaker.alert(`${this.$t('File Upload Error:')} ${displayMessage}`, 'danger');
}
Expand Down

0 comments on commit 96c70bc

Please sign in to comment.