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