mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-13 01:59:28 +00:00
cancel Vertrag: correct error handling
This commit is contained in:
@@ -96,7 +96,7 @@ export default{
|
||||
? {vertrag_id: this.vertrag_id, person_id: this.person_id}
|
||||
: Promise.reject({handled: true}))
|
||||
.then(result => {
|
||||
this.$api.call(ApiVertrag.cancelVertrag({vertrag_id: this.vertrag_id, person_id: this.person_id}))
|
||||
return this.$api.call(ApiVertrag.cancelVertrag({vertrag_id: this.vertrag_id, person_id: this.person_id}))
|
||||
})
|
||||
.then(result => {
|
||||
this.resetForm();
|
||||
|
||||
Reference in New Issue
Block a user