From e1bfefc1888dc9bc4591283a1f31a7148da0a3af Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Tue, 29 Jan 2019 05:47:01 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BF=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=B2=20app=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/App.vue b/client/components/App.vue index 1b8bfc92..d9ee628a 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -168,7 +168,7 @@ class App extends Vue { if (!title) { if (this.mode == 'omnireader') { document.title = `Omni Reader - всегда с вами`; - } else if (this.config) { + } else if (this.config && this.mode !== null) { document.title = `${this.config.name} - ${this.itemRuText[this.$root.rootRoute]}`; } } else { @@ -185,7 +185,7 @@ class App extends Vue { } get showAsideBar() { - return (this.mode != 'reader' && this.mode != 'omnireader'); + return (this.mode !== null && this.mode != 'reader' && this.mode != 'omnireader'); } get isReaderActive() {