@processmaker/screen-builder 3.0.0 → 3.0.1

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": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "scripts": {
5
5
  "dev": "VITE_COVERAGE=true vite",
6
6
  "build": "vite build",
@@ -127,7 +127,7 @@ export default {
127
127
  window.location.reload();
128
128
  })
129
129
  .catch((error) => {
130
- const errorMessage = error.response?.data?.message || error.message;
130
+ const errorMessage = error.response?.data?.message || error.response?.data?.error || error.message;
131
131
  ProcessMaker.alert(errorMessage, "danger");
132
132
  });
133
133
  },