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