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

fix bug toc not displayed

parent ca0e22e2
No related branches found
No related tags found
No related merge requests found
Pipeline #117911 failed with stages
in 1 minute and 14 seconds
...@@ -23,7 +23,6 @@ function onScroll() { ...@@ -23,7 +23,6 @@ function onScroll() {
} }
else { density.value = "prominent" } else { density.value = "prominent" }
} }
</script> </script>
<template> <template>
...@@ -33,10 +32,7 @@ function onScroll() { ...@@ -33,10 +32,7 @@ function onScroll() {
<v-row justify="center"> <v-row justify="center">
<v-col cols="auto"> <v-col cols="auto">
<v-card flat color="transparent" :max-width="fluid ? undefined : 1280"> <v-card flat color="transparent" :max-width="fluid ? undefined : 1280">
<slot /> <slot />
<!-- </v-card-text>
</v-card> -->
<EditGitlab v-if="edit" /> <EditGitlab v-if="edit" />
<NavPrevNext v-if="edit" /> <NavPrevNext v-if="edit" />
</v-card> </v-card>
...@@ -45,11 +41,11 @@ function onScroll() { ...@@ -45,11 +41,11 @@ function onScroll() {
</v-container> </v-container>
<!-- <Footer></Footer> --> <!-- <Footer></Footer> -->
</v-main> </v-main>
<NavNavbar v-model:drawer="drawer" :density="density" :drawer-enabled="navDrawer"/> <NavNavbar v-model:drawer="drawer" :density="density" :drawer-enabled="navDrawer" />
<slot v-if="navDrawer" name="drawer" :drawer="drawer"> <slot v-if="navDrawer" name="drawer" :drawer="drawer">
<NavDrawer :drawer="drawer" /> <NavDrawer :drawer="drawer" />
</slot> </slot>
<NavTableOfContent v-if="toc?.body?.toc?.links" :links="page.body.toc.links" /> <NavTableOfContent :links="page.body.toc.links ?? []" />
<nav-back-to-top /> <nav-back-to-top />
</VApp> </VApp>
</template> </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