refactor: use utils.copytext (#3590)

This commit is contained in:
dni ⚡
2025-11-27 12:31:14 +01:00
committed by GitHub
parent e6ca8a33c6
commit 704e5a1b73
17 changed files with 50 additions and 40 deletions
+4 -4
View File
@@ -163,7 +163,7 @@ include('components/lnbits-wallet-extra.vue') %}
<q-item-label>
<q-icon
name="content_copy"
@click="copyText(payment.payment_hash)"
@click="utils.copyText(payment.payment_hash)"
size="1em"
color="grey"
class="cursor-pointer"
@@ -188,7 +188,7 @@ include('components/lnbits-wallet-extra.vue') %}
<q-item-label>
<q-icon
name="content_copy"
@click="copyText(payment.bolt11)"
@click="utils.copyText(payment.bolt11)"
size="1em"
color="grey"
class="cursor-pointer"
@@ -234,7 +234,7 @@ include('components/lnbits-wallet-extra.vue') %}
<q-item-label>
<q-icon
name="content_copy"
@click="copyText(payment.preimage)"
@click="utils.copyText(payment.preimage)"
size="1em"
color="grey"
class="cursor-pointer"
@@ -553,7 +553,7 @@ include('components/lnbits-wallet-extra.vue') %}
flat
dense
class="text-grey"
@click="copyText(value)"
@click="utils.copyText(value)"
icon="content_copy"
>
<q-tooltip>Copy</q-tooltip>