Поправки

This commit is contained in:
Book Pauk
2022-09-27 13:13:47 +07:00
parent 7b75ec466c
commit 4548b5c4d9
2 changed files with 1 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ class Api {
} }
try { try {
const result = await this.$root.stdDialog.password(`Введите пароль для доступа:`, ' ', { const result = await this.$root.stdDialog.password('Введите пароль:', 'Доступ ограничен', {
inputValidator: (str) => (str ? true : 'Пароль не должен быть пустым'), inputValidator: (str) => (str ? true : 'Пароль не должен быть пустым'),
userName: 'access', userName: 'access',
noEscDismiss: true, noEscDismiss: true,

View File

@@ -544,14 +544,11 @@ class Search {
selectAuthor(author) { selectAuthor(author) {
this.search.author = `=${author}`; this.search.author = `=${author}`;
this.search.series = '';
this.search.title = '';
this.scrollToTop(); this.scrollToTop();
} }
selectSeries(series) { selectSeries(series) {
this.search.series = `=${series}`; this.search.series = `=${series}`;
this.search.title = '';
} }
async download(book, copy = false) { async download(book, copy = false) {