refactor: move /audit into vue component (#3461)
This commit is contained in:
@@ -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 {
|
||||
Reference in New Issue
Block a user