fix: g.wallet artifacts in lnbits-payment-list and lnbits-manage-wall... (#3601)

This commit is contained in:
dni ⚡
2025-12-01 09:10:40 +01:00
committed by GitHub
parent 6449276003
commit ad8b70a098
4 changed files with 21 additions and 20 deletions
@@ -11,24 +11,16 @@
)"
:key="walletRec.id"
clickable
:active="g.wallet && g.wallet.id === walletRec.id"
:active="walletRec.id === activeWalletId"
@click="$router.push('/wallet/' + walletRec.id)"
>
<q-item-section side>
<q-avatar
size="lg"
:text-color="$q.dark.isActive ? 'black' : 'grey-3'"
:class="g.wallet && g.wallet.id === walletRec.id ? '' : 'disabled'"
:color="
g.wallet && g.wallet.id === walletRec.id
? walletRec.extra.color
: walletRec.extra.color
"
:icon="
g.wallet && g.wallet.id === walletRec.id
? walletRec.extra.icon
: walletRec.extra.icon
"
:disabled="walletRec.id === activeWalletId"
:color="walletRec.extra.color"
:icon="walletRec.extra.icon"
>
</q-avatar>
</q-item-section>