From 4274974207a4c61640be98414e1d3edf3d8d60a2 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 5 Jul 2022 10:36:44 +0200 Subject: [PATCH] reformat string to avoid unwanted indents --- .../components/TransactionLinks/TransactionLink.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/TransactionLinks/TransactionLink.vue b/frontend/src/components/TransactionLinks/TransactionLink.vue index 1476c3be6..b9256331e 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.vue +++ b/frontend/src/components/TransactionLinks/TransactionLink.vue @@ -110,12 +110,12 @@ export default { copyLinkWithText() { navigator.clipboard .writeText( - `${this.link} - ${this.$store.state.firstName} ${this.$t('transaction-link.send_you')} ${ + `${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( + } 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') }, )}`,