From e595bea00def44a569c7f7674165588ed559d20d Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Fri, 1 Feb 2019 02:36:51 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B9=20=D1=80?= =?UTF-8?q?=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/HistoryPage/HistoryPage.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/client/components/Reader/HistoryPage/HistoryPage.vue b/client/components/Reader/HistoryPage/HistoryPage.vue index cb0b0c5e..0fe320b2 100644 --- a/client/components/Reader/HistoryPage/HistoryPage.vue +++ b/client/components/Reader/HistoryPage/HistoryPage.vue @@ -131,16 +131,17 @@ class HistoryPage extends Vue { textLen = ` ${Math.round(book.textLength/1000)}k`; } + const fb2 = (book.fb2 ? book.fb2 : {}); result.push({ touchDateTime: book.touchTime, touchDate: t[0], touchTime: t[1], desc: { - title: `"${book.fb2.bookTitle}"${perc}${textLen}`, + title: `"${fb2.bookTitle}"${perc}${textLen}`, author: _.compact([ - book.fb2.lastName, - book.fb2.firstName, - book.fb2.middleName + fb2.lastName, + fb2.firstName, + fb2.middleName ]).join(' '), }, url: book.url,