From d0dc8dc0fd653a3ef3cbb158dfc513be37192187 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 31 Mar 2022 13:16:53 +0200 Subject: [PATCH] the backend returns an array of errors, we display the first --- frontend/src/pages/Send.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Send.vue b/frontend/src/pages/Send.vue index 270187bec..903de6e49 100644 --- a/frontend/src/pages/Send.vue +++ b/frontend/src/pages/Send.vue @@ -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 })