some refactoring, better toc

This commit is contained in:
2020-07-07 11:56:22 +02:00
parent c6cbed0ebf
commit 55e99290a2
7 changed files with 33 additions and 20 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
<section>
<ul>
<li
v-for="item in content"
v-for="item in toc"
:key="item.uuid"
>
<TocItem :item="item" :level="1" :editionid="$route.params.id" />
@@ -21,7 +21,7 @@ export default {
TocItem
},
props: {
content: Object
toc: Array
},
data: () => ({