Удален параметр конфига extendedSearch

This commit is contained in:
Book Pauk
2022-10-31 16:25:30 +07:00
parent e0c856ce8e
commit ca812f0eb4
4 changed files with 2 additions and 13 deletions

View File

@@ -19,7 +19,6 @@
</div>
<q-btn-toggle
v-if="extendedSearch"
v-model="selectedList"
class="q-ml-md"
toggle-color="primary"
@@ -493,10 +492,6 @@ class Search {
return this.$store.state.config;
}
get extendedSearch() {
return this.config.extendedSearch;
}
get settings() {
return this.$store.state.settings;
}
@@ -552,7 +547,7 @@ class Search {
async updateListFromRoute(to) {
const newPath = to.path;
let newList = this.getListRoute(newPath);
newList = (newList && this.extendedSearch ? newList : 'author');
newList = (newList ? newList : 'author');
if (this.selectedList != newList)
this.selectedList = newList;
}