From 4548b5c4d9c595d6c55745161ab6f6420ffb5121 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Tue, 27 Sep 2022 13:13:47 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Api/Api.vue | 2 +- client/components/Search/Search.vue | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/client/components/Api/Api.vue b/client/components/Api/Api.vue index 717c2c3..23d9cb8 100644 --- a/client/components/Api/Api.vue +++ b/client/components/Api/Api.vue @@ -113,7 +113,7 @@ class Api { } try { - const result = await this.$root.stdDialog.password(`Введите пароль для доступа:`, ' ', { + const result = await this.$root.stdDialog.password('Введите пароль:', 'Доступ ограничен', { inputValidator: (str) => (str ? true : 'Пароль не должен быть пустым'), userName: 'access', noEscDismiss: true, diff --git a/client/components/Search/Search.vue b/client/components/Search/Search.vue index 4f7c96e..7c61fa5 100644 --- a/client/components/Search/Search.vue +++ b/client/components/Search/Search.vue @@ -544,14 +544,11 @@ class Search { selectAuthor(author) { this.search.author = `=${author}`; - this.search.series = ''; - this.search.title = ''; this.scrollToTop(); } selectSeries(series) { this.search.series = `=${series}`; - this.search.title = ''; } async download(book, copy = false) {