From 5196e7146e8bedc9d10d63d0051058cab12284f7 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 29 Jul 2020 19:15:35 +0200 Subject: [PATCH] fix history nav content --- src/components/Content/HistoryItem.vue | 2 +- src/components/Content/ResultItem.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Content/HistoryItem.vue b/src/components/Content/HistoryItem.vue index fe8d1c4..7a34714 100644 --- a/src/components/Content/HistoryItem.vue +++ b/src/components/Content/HistoryItem.vue @@ -18,7 +18,7 @@ diff --git a/src/components/Content/ResultItem.vue b/src/components/Content/ResultItem.vue index c4c9211..1400557 100644 --- a/src/components/Content/ResultItem.vue +++ b/src/components/Content/ResultItem.vue @@ -63,8 +63,10 @@ export default { this.addHistoryItem({ id: this.result.textId, textid: this.result.uuid, - title: this.result.title[0], - editionTitle: this.editionTitle + title: this.result.title, + editionTitle: this.editionTitle, + pages: this.result.pages, + size: this.result.size }) this.$router.push({ name: `editiontext`,