mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-08 03:48:30 +02:00
chore: play
This commit is contained in:
parent
3b4f2686b4
commit
a0f936ceff
@ -17,7 +17,7 @@
|
||||
v-slot="{ item, index }"
|
||||
class="hide-scrollbar"
|
||||
>
|
||||
<!-- :class="item.id === this.g.wallet.id ? 'bg-dark text-white': ''" -->
|
||||
<!-- :class="item.id === this.g.wallet.id ? 'bg-dark text-white': ''" -->
|
||||
<q-card
|
||||
class="q-mr-md cursor-pointer"
|
||||
color="positive"
|
||||
@ -70,10 +70,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</q-card-section>
|
||||
<!-- <q-card-section v-if="item.id === this.g.wallet.id">
|
||||
|
||||
</q-card-section> -->
|
||||
|
||||
|
||||
<q-card-actions class="q-pa-none">
|
||||
<div class="row full-width">
|
||||
|
2
lnbits/static/bundle-components.min.js
vendored
2
lnbits/static/bundle-components.min.js
vendored
File diff suppressed because one or more lines are too long
@ -26,6 +26,7 @@ window.app.component('lnbits-wallet-list', {
|
||||
props: ['balance'],
|
||||
data: function () {
|
||||
return {
|
||||
vertical: true,
|
||||
user: null,
|
||||
activeWallet: null,
|
||||
balance: 0,
|
||||
@ -59,6 +60,8 @@ window.app.component('lnbits-wallet-list', {
|
||||
this.activeWallet = LNbits.map.wallet(window.wallet)
|
||||
}
|
||||
document.addEventListener('updateWalletBalance', this.updateWalletBalance)
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
this.vertical=!urlParams.get('vertical')
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -4,7 +4,19 @@
|
||||
dense
|
||||
class="lnbits-drawer__q-list"
|
||||
>
|
||||
<q-item-label header v-text="$t('wallets')"></q-item-label>
|
||||
<q-item :href="activeWallet.url+'&vertical='+vertical" class="cursor-pointer">
|
||||
<q-item-label header v-text="$t('wallets')" class="q-pl-none">
|
||||
</q-item-label>
|
||||
|
||||
<!-- <q-item-section class="">
|
||||
<q-icon name="vertical_split" />
|
||||
</q-item-section> -->
|
||||
<q-item-section class="q-mr-md">
|
||||
<q-icon name="pivot_table_chart" />
|
||||
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
|
||||
<q-item
|
||||
v-for="wallet in wallets"
|
||||
:key="wallet.id"
|
||||
|
Loading…
x
Reference in New Issue
Block a user