fix header routing

This commit is contained in:
axolotle
2021-07-09 15:23:22 +02:00
parent 48e5471f77
commit da2793a261
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
export { default as NodeViewTitle } from './NodeViewTitle'
export { default as NodeViewFigure } from './NodeViewFigure'
export { default as NodeViewChildList } from './NodeViewChildList'
export { default as NodeViewChildListGroup } from './NodeViewChildListGroup'
export { default as NodeViewTitle } from './NodeViewTitle'
export { default as NodeViewHeaderRef } from './NodeViewHeaderRef'
export { default as NodeViewHeaderProd } from './NodeViewHeaderProd'
export { default as NodeViewBody } from './NodeViewBody'
+1 -1
View File
@@ -30,7 +30,7 @@
<nav class="nav-list d-none d-tb-block">
<ul>
<li v-for="link in mainRoutes" :key="link.to">
<b-button :to="link.to" :active="$route.name === link.to" :variant="link.variant">
<b-button :to="{ name: link.to }" :active="$route.name === link.to" :variant="link.variant">
{{ $t('sections.' + link.to) }}
</b-button>
</li>