Skip to content

Commit

Permalink
fix(webui): library navigation not highlighted correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jun 26, 2020
1 parent 82aec45 commit e28c070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion komga-webui/src/components/LibraryNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion komga-webui/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit e28c070

Please sign in to comment.