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) {