clean error message when sending to a deleted user account

This commit is contained in:
ogerly 2022-02-22 12:46:18 +01:00
parent 0c1dabde31
commit 0c9f522dc0
3 changed files with 8 additions and 0 deletions

View File

@ -216,6 +216,7 @@
"more": "mehr",
"nullTransactions": "Du hast noch keine Transaktionen auf deinem Konto.",
"receiverNotFound": "Empfänger nicht gefunden",
"receiverDeleted":"Das Empfängerkonto wurde gelöscht",
"show_all": "Alle <strong>{count}</strong> Transaktionen ansehen"
},
"transactions": "Transaktionen",

View File

@ -216,6 +216,7 @@
"more": "more",
"nullTransactions": "You don't have any transactions on your account yet.",
"receiverNotFound": "Recipient not found",
"receiverDeleted":"The recipient account was deleted",
"show_all": "View all <strong>{count}</strong> transactions."
},
"transactions": "Transactions",

View File

@ -13,6 +13,12 @@
<div class="test-receiver-not-found" v-if="errorResult === 'recipient not known'">
{{ $t('transaction.receiverNotFound') }}
</div>
<div
class="test-receiver-not-found"
v-if="errorResult === 'GraphQL error: The recipient account was deleted'"
>
{{ $t('transaction.receiverDeleted') }}
</div>
<div v-else>({{ errorResult }})</div>
</div>
<p class="text-center mt-3">