fix(webui): library navigation not highlighted correctly

This commit is contained in:
Gauthier Roebroeck 2020-06-26 17:58:57 +08:00
parent 82aec45660
commit e28c070e36
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<v-bottom-navigation grow color="primary"
:fixed="$vuetify.breakpoint.name === 'xs'"
>
<v-btn :to="{name: 'browse-libraries', params: {libraryId: libraryId}}" exact>
<v-btn :to="{name: 'browse-libraries', params: {libraryId: libraryId}}">
<span>Browse</span>
<v-icon>mdi-bookshelf</v-icon>
</v-btn>

View file

@ -78,7 +78,7 @@ const router = new Router({
component: () => import(/* webpackChunkName: "account" */ './views/AccountSettings.vue'),
},
{
path: '/libraries/:libraryId',
path: '/libraries/:libraryId/series',
name: 'browse-libraries',
beforeEnter: noLibraryGuard,
component: () => import(/* webpackChunkName: "browse-libraries" */ './views/BrowseLibraries.vue'),