the backend returns an array of errors, we display the first

This commit is contained in:
Ulf Gebhardt 2022-03-31 13:16:53 +02:00
parent 04affc5a7d
commit d0dc8dc0fd
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -134,7 +134,7 @@ export default {
this.currentTransactionStep = TRANSACTION_STEPS.transactionResultSendSuccess
})
.catch((err) => {
this.errorResult = err.message
this.errorResult = err[0].message
this.error = true
this.currentTransactionStep = TRANSACTION_STEPS.transactionResultSendError
})