refactor: move /audit into vue component (#3461)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -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 {
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user