chore: getting rid of jinja variable in wallet.html (#3547)

This commit is contained in:
dni ⚡
2025-11-21 09:01:53 +01:00
committed by GitHub
parent 5346ac47b1
commit 3ccefb70fa
7 changed files with 19 additions and 38 deletions
-5
View File
@@ -5,14 +5,9 @@ window.windowMixin = {
api: window._lnbitsApi,
utils: window._lnbitsUtils,
g: window.g,
toggleSubs: true,
isSatsDenomination: WINDOW_SETTINGS['LNBITS_DENOMINATION'] == 'sats',
allowedThemes: WINDOW_SETTINGS['LNBITS_THEME_OPTIONS'],
walletEventListeners: [],
...WINDOW_SETTINGS
}
},
methods: {
openNewWalletDialog(walletType = 'lightning') {
this.g.newWalletType = walletType