mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 14:22:55 +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,
|
||||
payments: [],
|
||||
allowedThemes: null,
|
||||
langs: []
|
||||
langs: [],
|
||||
walletName: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
createWallet() {
|
||||
LNbits.api.createWallet(this.g.user.wallets[0], this.walletName)
|
||||
},
|
||||
flipWallets(smallScreen) {
|
||||
this.walletFlip = !this.walletFlip
|
||||
if (this.walletFlip && smallScreen) {
|
||||
|
|
Loading…
Add table
Reference in a new issue