refactor: move /audit into vue component (#3461)

This commit is contained in:
dni ⚡
2025-11-06 09:50:01 +01:00
committed by GitHub
parent 8506199c2f
commit 82307c4839
10 changed files with 217 additions and 232 deletions
File diff suppressed because one or more lines are too long
+5 -9
View File
@@ -157,15 +157,6 @@ const routes = [
scripts: ['/static/js/users.js']
}
},
{
path: '/audit',
name: 'Audit',
component: DynamicComponent,
props: {
fetchUrl: '/audit',
scripts: ['/static/js/audit.js']
}
},
{
path: '/extensions',
name: 'Extensions',
@@ -216,6 +207,11 @@ const routes = [
path: '/payments',
name: 'Payments',
component: PagePayments
},
{
path: '/audit',
name: 'Audit',
component: PageAudit
}
]
@@ -1,4 +1,5 @@
window.AuditPageLogic = {
window.PageAudit = {
template: '#page-audit',
mixins: [window.windowMixin],
data() {
return {
+1
View File
@@ -46,6 +46,7 @@
"js/pages/payments.js",
"js/pages/node.js",
"js/pages/node-public.js",
"js/pages/audit.js",
"js/components/lnbits-qrcode.js",
"js/components/lnbits-qrcode-lnurl.js",
"js/components/lnbits-funding-sources.js",