@processmaker/screen-builder 2.99.4 → 2.99.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/screen-builder",
3
- "version": "2.99.4",
3
+ "version": "2.99.5",
4
4
  "scripts": {
5
5
  "dev": "VITE_COVERAGE=true vite",
6
6
  "build": "vite build",
@@ -529,6 +529,10 @@ export default {
529
529
  }
530
530
 
531
531
  if (displayMessage.length > 0) {
532
+ const data = JSON.parse(displayMessage);
533
+ if (data.message) {
534
+ displayMessage = data.message;
535
+ }
532
536
  window.ProcessMaker.alert(`${this.$t('File Upload Error:')} ${displayMessage}`, 'danger');
533
537
  }
534
538