diff --git a/frontend/src/components/ClipboardCopy.vue b/frontend/src/components/ClipboardCopy.vue index ff8a3ae87..936f6db1a 100644 --- a/frontend/src/components/ClipboardCopy.vue +++ b/frontend/src/components/ClipboardCopy.vue @@ -3,9 +3,12 @@ - + {{ $t('gdd_per_link.copy') }} + + + @@ -30,3 +33,8 @@ export default { }, } + diff --git a/frontend/src/components/GddSend/TransactionResultLink.vue b/frontend/src/components/GddSend/TransactionResultLink.vue index 633796b23..04445acfe 100644 --- a/frontend/src/components/GddSend/TransactionResultLink.vue +++ b/frontend/src/components/GddSend/TransactionResultLink.vue @@ -3,13 +3,12 @@
{{ $t('gdd_per_link.created') }}
- - +
- + - + {{ $t('form.close') }}
@@ -33,5 +32,15 @@ export default { required: true, }, }, + data() { + return { + showQrcode: false, + } + }, + methods: { + showQrCodeButton() { + this.showQrcode = !this.showQrcode + }, + }, } diff --git a/frontend/src/components/GddSend/TransactionResultSendError.vue b/frontend/src/components/GddSend/TransactionResultSendError.vue index 6a3761092..279ee931e 100644 --- a/frontend/src/components/GddSend/TransactionResultSendError.vue +++ b/frontend/src/components/GddSend/TransactionResultSendError.vue @@ -22,7 +22,9 @@
{{ errorResult }}

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

diff --git a/frontend/src/components/GddSend/TransactionResultSendSuccess.vue b/frontend/src/components/GddSend/TransactionResultSendSuccess.vue index 74bb6963a..bc8c39f3b 100644 --- a/frontend/src/components/GddSend/TransactionResultSendSuccess.vue +++ b/frontend/src/components/GddSend/TransactionResultSendSuccess.vue @@ -9,7 +9,7 @@ {{ $t('form.send_transaction_success') }}

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

diff --git a/frontend/src/components/QrCode/FigureQrCode.spec.js b/frontend/src/components/QrCode/FigureQrCode.spec.js index d19d806d3..715a5d5d5 100644 --- a/frontend/src/components/QrCode/FigureQrCode.spec.js +++ b/frontend/src/components/QrCode/FigureQrCode.spec.js @@ -4,7 +4,7 @@ import FigureQrCode from './FigureQrCode' const localVue = global.localVue const propsData = { - text: '', + link: '', } describe('FigureQrCode', () => { diff --git a/frontend/src/components/QrCode/FigureQrCode.vue b/frontend/src/components/QrCode/FigureQrCode.vue index df450a52e..00f1b54b9 100644 --- a/frontend/src/components/QrCode/FigureQrCode.vue +++ b/frontend/src/components/QrCode/FigureQrCode.vue @@ -14,14 +14,14 @@ export default { QRCanvas, }, props: { - text: { type: String, required: true }, + link: { type: String, required: true }, }, data() { return { options: { cellSize: 8, correctLevel: 'H', - data: this.text, + data: this.link, }, } }, diff --git a/frontend/src/components/TransactionLinks/TransactionLink.vue b/frontend/src/components/TransactionLinks/TransactionLink.vue index 9b40f2992..9832dea2f 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.vue +++ b/frontend/src/components/TransactionLinks/TransactionLink.vue @@ -50,7 +50,7 @@ - + diff --git a/frontend/src/pages/Send.spec.js b/frontend/src/pages/Send.spec.js index 0c6cadb2e..88759c839 100644 --- a/frontend/src/pages/Send.spec.js +++ b/frontend/src/pages/Send.spec.js @@ -253,7 +253,7 @@ describe('Send', () => { describe('close button click', () => { beforeEach(async () => { - await wrapper.findAll('button').at(1).trigger('click') + await wrapper.findAll('button').at(2).trigger('click') }) it('Shows the TransactionForm', () => {