Удален параметр конфига extendedSearch
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user