fix history nav content

This commit is contained in:
2020-07-29 19:15:35 +02:00
parent 79943af82e
commit 5196e7146e
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
</h2> </h2>
<!-- <p v-if="preview" class="preview" v-html="preview" /> --> <!-- <p v-if="preview" class="preview" v-html="preview" /> -->
<aside> <aside>
<span>Pagination</span> | <span>Nbr mots</span> <span>{{ item.pages.prefix }} {{ item.pages.range }}</span> | <span>{{ item.size.quantity }} {{ item.size.unit }}</span>
</aside> </aside>
</article> </article>
</template> </template>
+4 -2
View File
@@ -63,8 +63,10 @@ export default {
this.addHistoryItem({ this.addHistoryItem({
id: this.result.textId, id: this.result.textId,
textid: this.result.uuid, textid: this.result.uuid,
title: this.result.title[0], title: this.result.title,
editionTitle: this.editionTitle editionTitle: this.editionTitle,
pages: this.result.pages,
size: this.result.size
}) })
this.$router.push({ this.$router.push({
name: `editiontext`, name: `editiontext`,