Skip to content
Snippets Groups Projects
Commit 2d56ade2 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

remove toc if not activated

parent e63a3bd3
No related branches found
No related tags found
No related merge requests found
Pipeline #117919 passed with stages
in 10 minutes and 17 seconds
......@@ -45,7 +45,7 @@ function onScroll() {
<slot v-if="navDrawer" name="drawer" :drawer="drawer">
<NavDrawer :drawer="drawer" />
</slot>
<NavTableOfContent :links="page.body.toc.links ?? []" />
<NavTableOfContent v-if="toc" :links="page.body.toc.links ?? []" />
<nav-back-to-top />
</VApp>
</template>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment