diff --git a/src/components/ScreenTemplateCard.vue b/src/components/ScreenTemplateCard.vue index 1cd9f7969..323173bf5 100644 --- a/src/components/ScreenTemplateCard.vue +++ b/src/components/ScreenTemplateCard.vue @@ -127,7 +127,7 @@ export default { window.location.reload(); }) .catch((error) => { - const errorMessage = error.response?.data?.message || error.message; + const errorMessage = error.response?.data?.message || error.response?.data?.error || error.message; ProcessMaker.alert(errorMessage, "danger"); }); },