From 7d9253e4c7ae00ea058660ba8f6be277437db68e Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 5 Jul 2022 11:49:52 +0200 Subject: [PATCH] Update frontend/src/components/TransactionLinks/TransactionLink.vue Co-authored-by: Moriz Wahl --- .../components/TransactionLinks/TransactionLink.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/TransactionLinks/TransactionLink.vue b/frontend/src/components/TransactionLinks/TransactionLink.vue index b9256331e..b7dc03db5 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.vue +++ b/frontend/src/components/TransactionLinks/TransactionLink.vue @@ -110,15 +110,10 @@ export default { copyLinkWithText() { navigator.clipboard .writeText( - `${this.link}\n` + - `${this.$store.state.firstName} ${this.$t('transaction-link.send_you')} ${ - this.amount - } Gradido.\n` + - `"${this.memo}"\n`+ - `${this.$t('gdd_per_link.credit-your-gradido')} ${this.$t( - 'gdd_per_link.validUntilDate', - { date: this.$d(new Date(this.validUntil), 'short') }, - )}`, + `${this.link}\n +${this.$store.state.firstName} ${this.$t('transaction-link.send_you')} ${this.amount} Gradido. +"${this.memo}" +${this.$t('gdd_per_link.credit-your-gradido')} ${this.$t('gdd_per_link.validUntilDate', { date: this.$d(new Date(this.validUntil), 'short') })}`, ) .then(() => { this.toastSuccess(this.$t('gdd_per_link.link-and-text-copied'))