Поправки мелких недочетов

This commit is contained in:
Book Pauk
2022-12-07 21:07:59 +07:00
parent 307b78f60d
commit 74af82f34f
2 changed files with 8 additions and 2 deletions

View File

@@ -690,8 +690,12 @@ class Search {
async updateListFromRoute(to) {
const newPath = to.path;
let newList = this.getListRoute(newPath);
if (newList == 'extended' && !this.config.extendedSearch)
newList = '';
newList = (newList ? newList : 'author');
if (this.selectedList != newList)
this.selectedList = newList;
}
@@ -747,7 +751,8 @@ class Search {
result = [a, result].filter(v => v).join(' ');
}
} else {
result = this.extSearchNames;
if (this.extSearchNames)
result = this.extSearchNames;
}
this.$root.setAppTitle(result);