double apostrophe removed, fix yarn lint

This commit is contained in:
ogerly 2022-07-05 09:34:32 +02:00 committed by mahula
parent 6c856c8a92
commit e8b70608e9

View File

@ -22,7 +22,11 @@
<b-icon icon="clipboard"></b-icon>
{{ $t('gdd_per_link.copy') }}
</b-dropdown-item>
<b-dropdown-item v-if="validLink" class="test-copy-text pt-3" @click="copyLinkWithText()">
<b-dropdown-item
v-if="validLink"
class="test-copy-text pt-3"
@click="copyLinkWithText()"
>
<b-icon icon="clipboard-plus"></b-icon>
{{ $t('gdd_per_link.copy-with-text') }}
</b-dropdown-item>
@ -106,7 +110,7 @@ export default {
copyLinkWithText() {
navigator.clipboard
.writeText(
``${this.link}
`${this.link}
${this.$store.state.firstName} ${this.$t('transaction-link.send_you')} ${
this.amount
}. Gradido
@ -114,7 +118,8 @@ export default {
${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'))
})