diff --git a/frontend/src/components/GddSend/TransactionResultLink.vue b/frontend/src/components/GddSend/TransactionResultLink.vue index 66b5529d6..00c41042f 100644 --- a/frontend/src/components/GddSend/TransactionResultLink.vue +++ b/frontend/src/components/GddSend/TransactionResultLink.vue @@ -4,9 +4,17 @@
-
{{ $t('gdd_per_link.created') }}
+
{{ $t('gdd_per_link.created') }}
+
+ + + + + +
+

{{ $t('form.close') }}

@@ -17,11 +25,13 @@ diff --git a/frontend/src/components/TransactionLinks/TransactionLink.vue b/frontend/src/components/TransactionLinks/TransactionLink.vue index 008d980a7..1bd454821 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.vue +++ b/frontend/src/components/TransactionLinks/TransactionLink.vue @@ -22,6 +22,15 @@
+ + + +
-
- - -
- +
-
- - GDD -
+

{{ link }}

@@ -60,7 +57,7 @@ import AmountAndNameRow from '../TransactionRows/AmountAndNameRow' import MemoRow from '../TransactionRows/MemoRow' import DateRow from '../TransactionRows/DateRow' import DecayRow from '../TransactionRows/DecayRow' -import VueQrcode from 'vue-qrcode' +import FigureQrCode from '@/components/QrCode/FigureQrCode.vue' export default { name: 'TransactionLink', @@ -70,7 +67,7 @@ export default { MemoRow, DateRow, DecayRow, - VueQrcode, + FigureQrCode, }, props: { amount: { type: String, required: true }, @@ -80,11 +77,6 @@ export default { memo: { type: String, required: true }, validUntil: { type: String, required: true }, }, - data() { - return { - link: `${window.location.origin}/redeem/${this.code}`, - } - }, methods: { copy() { navigator.clipboard @@ -120,30 +112,9 @@ export default { decay() { return `${this.amount - this.holdAvailableAmount}` }, + link() { + return `${window.location.origin}/redeem/${this.code}` + }, }, } -