feat: remove selectWallet and use path params instead of url params (#3591)
This commit is contained in:
@@ -29,6 +29,13 @@ const routes = [
|
||||
},
|
||||
{
|
||||
path: '/wallet',
|
||||
redirect: to => {
|
||||
const walletId = window.g?.lastActiveWallet || window.user?.wallets[0].id
|
||||
return `/wallet/${to.query.val || walletId || 'default'}`
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/wallet/:id',
|
||||
name: 'Wallet',
|
||||
component: PageWallet
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user