From 205f59b8f213a8341d5f5c709443967622a4f84f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 13 Dec 2022 17:53:04 +0100 Subject: [PATCH] Fix error message not being displayed --- .../Resources/Private/Assets/js/myep/BookingEdit.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue index 84726350..1d9438ce 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/BookingEdit.vue @@ -454,11 +454,9 @@ this.dirty = false }) .catch(error => { - error.response.then(data => { - this.alert({ - message: data.message, - success: false, - }) + this.alert({ + message: error.message, + success: false, }) }) .finally(() => {