Поправки
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user