feat: remove selectWallet and use path params instead of url params (#3591)

This commit is contained in:
dni ⚡
2025-11-27 12:17:01 +01:00
committed by GitHub
parent ef752cbeca
commit 9c257aa23d
12 changed files with 29 additions and 49 deletions
+7
View File
@@ -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
},