mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2024-12-29 10:13:36 +01:00
refs #1285 Fix highlighted account icon
This commit is contained in:
parent
d2fb794876
commit
8be6ac7f75
@ -12,7 +12,7 @@
|
||||
role="menubar"
|
||||
>
|
||||
<el-menu-item
|
||||
:index="`/${account._id}/home`"
|
||||
:index="`/${account._id}/`"
|
||||
:route="{ path: `/${account._id}/home` }"
|
||||
v-for="(account, index) in accounts"
|
||||
v-bind:key="account._id"
|
||||
@ -58,7 +58,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
activeRoute() {
|
||||
return this.$route.path
|
||||
return `/${this.$route.path.split('/')[1]}/`
|
||||
},
|
||||
async initialize() {
|
||||
await this.$store
|
||||
|
Loading…
Reference in New Issue
Block a user