mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 22:25:47 +01:00
add create wallet card
This commit is contained in:
parent
89e58c0cf0
commit
fb4398a759
1 changed files with 5 additions and 1 deletions
|
@ -467,12 +467,16 @@ window.windowMixin = {
|
||||||
wallet: null,
|
wallet: null,
|
||||||
payments: [],
|
payments: [],
|
||||||
allowedThemes: null,
|
allowedThemes: null,
|
||||||
langs: []
|
langs: [],
|
||||||
|
walletName: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
createWallet() {
|
||||||
|
LNbits.api.createWallet(this.g.user.wallets[0], this.walletName)
|
||||||
|
},
|
||||||
flipWallets(smallScreen) {
|
flipWallets(smallScreen) {
|
||||||
this.walletFlip = !this.walletFlip
|
this.walletFlip = !this.walletFlip
|
||||||
if (this.walletFlip && smallScreen) {
|
if (this.walletFlip && smallScreen) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue