Fix error message not being displayed

This commit is contained in:
Björn Fromme
2022-12-13 17:53:04 +01:00
parent 3f368a7946
commit 205f59b8f2
@@ -454,11 +454,9 @@
this.dirty = false this.dirty = false
}) })
.catch(error => { .catch(error => {
error.response.then(data => { this.alert({
this.alert({ message: error.message,
message: data.message, success: false,
success: false,
})
}) })
}) })
.finally(() => { .finally(() => {