refactor: move /users into vue component (#3463)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -148,15 +148,6 @@ const routes = [
|
||||
scripts: ['/static/js/admin.js']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/users',
|
||||
name: 'Users',
|
||||
component: DynamicComponent,
|
||||
props: {
|
||||
fetchUrl: '/users',
|
||||
scripts: ['/static/js/users.js']
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/extensions',
|
||||
name: 'Extensions',
|
||||
@@ -208,6 +199,11 @@ const routes = [
|
||||
path: '/wallets',
|
||||
name: 'Wallets',
|
||||
component: PageWallets
|
||||
},
|
||||
{
|
||||
path: '/users',
|
||||
name: 'Users',
|
||||
component: PageUsers
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
window.UsersPageLogic = {
|
||||
window.PageUsers = {
|
||||
template: '#page-users',
|
||||
mixins: [window.windowMixin],
|
||||
data() {
|
||||
return {
|
||||
@@ -48,6 +48,7 @@
|
||||
"js/pages/node-public.js",
|
||||
"js/pages/audit.js",
|
||||
"js/pages/wallets.js",
|
||||
"js/pages/users.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