From e0d9f66fdc87fd2355a8a212bcbc5d33a7b51e98 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Tue, 22 Jan 2019 02:00:04 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/TextPage/TextPage.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/client/components/Reader/TextPage/TextPage.vue b/client/components/Reader/TextPage/TextPage.vue index 968dea9e..f89e799f 100644 --- a/client/components/Reader/TextPage/TextPage.vue +++ b/client/components/Reader/TextPage/TextPage.vue @@ -41,6 +41,8 @@ class TextPage extends Vue { fontSize = null; fontName = null; + //meta = null; + created() { this.drawHelper = new DrawHelper(); @@ -182,13 +184,15 @@ class TextPage extends Vue { this.meta = bookManager.metaOnly(this.book); this.fb2 = this.meta.fb2; - this.title = _.compact([ + const authorName = _.compact([ this.fb2.lastName, - this.fb2.middleName, this.fb2.firstName, - '-', - this.fb2.bookTitle + this.fb2.middleName ]).join(' '); + this.title = _.compact([ + authorName, + this.fb2.bookTitle + ]).join(' - '); this.$root.$emit('set-app-title', this.title);