Update frontend/src/components/TransactionLinks/TransactionLink.vue

Co-authored-by: Alexander Friedland <ogerly@users.noreply.github.com>
This commit is contained in:
mahula 2022-07-05 09:01:28 +02:00
parent 5019a7c48f
commit 20e2e0edea

View File

@ -106,15 +106,15 @@ 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}
${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'))
})