refactor: move /wallets into vue component (#3462)

This commit is contained in:
dni ⚡
2025-11-06 09:55:25 +01:00
committed by GitHub
parent 82307c4839
commit 4ad89396cc
9 changed files with 171 additions and 196 deletions
File diff suppressed because one or more lines are too long
+5 -9
View File
@@ -184,15 +184,6 @@ const routes = [
scripts: ['/static/js/account.js']
}
},
{
path: '/wallets',
name: 'Wallets',
component: DynamicComponent,
props: {
fetchUrl: '/wallets',
scripts: ['/static/js/wallets.js']
}
},
{
path: '/node',
name: 'Node',
@@ -212,6 +203,11 @@ const routes = [
path: '/audit',
name: 'Audit',
component: PageAudit
},
{
path: '/wallets',
name: 'Wallets',
component: PageWallets
}
]
@@ -1,4 +1,5 @@
window.WalletsPageLogic = {
window.PageWallets = {
template: '#page-wallets',
mixins: [window.windowMixin],
data() {
return {
+1
View File
@@ -47,6 +47,7 @@
"js/pages/node.js",
"js/pages/node-public.js",
"js/pages/audit.js",
"js/pages/wallets.js",
"js/components/lnbits-qrcode.js",
"js/components/lnbits-qrcode-lnurl.js",
"js/components/lnbits-funding-sources.js",