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

check if toc exists

parent 187620fb
No related branches found
No related tags found
1 merge request!131Merge relevant Abstract and references
Pipeline #117829 passed with stages
in 8 minutes
......@@ -49,7 +49,7 @@ function onScroll() {
<slot v-if="navDrawer" name="drawer" :drawer="drawer">
<NavDrawer :drawer="drawer" />
</slot>
<NavTableOfContent v-if="toc" :links="page.body.toc.links" />
<NavTableOfContent v-if="toc?.body?.toc?.links" :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