This commit is contained in:
Tiago vasconcelos
2021-08-06 12:37:30 -03:00
committed by fiatjaf
parent b3856d5aff
commit 723c9ea3ab
3 changed files with 4 additions and 1 deletions
+3
View File
@@ -110,6 +110,9 @@ window.LNbits = {
window.location.href =
'/wallet?' + (userId ? 'usr=' + userId + '&' : '') + 'nme=' + walletName
},
updateWallet: function (walletName, userId, walletId) {
window.location.href = `/wallet?usr=${userId}&wal=${walletId}&nme=${walletName}`
},
deleteWallet: function (walletId, userId) {
window.location.href = '/deletewallet?usr=' + userId + '&wal=' + walletId
}