+
{{ $t("simple_mode") }}
@@ -839,19 +838,19 @@ export default {
]
},
keywordFields: function () {
- return !this.ui.enable_expert ? 1 : this.search.keywords_fields
+ return !this.ui.expert_mode ? 1 : this.search.keywords_fields
},
foodFields: function () {
- return !this.ui.enable_expert ? 1 : this.search.foods_fields
+ return !this.ui.expert_mode ? 1 : this.search.foods_fields
},
bookFields: function () {
- return !this.ui.enable_expert ? 1 : this.search.books_fields
+ return !this.ui.expert_mode ? 1 : this.search.books_fields
},
ratingFields: function () {
- return !this.ui.enable_expert ? 1 : this.search.rating_fields
+ return !this.ui.expert_mode ? 1 : this.search.rating_fields
},
unitFields: function () {
- return !this.ui.enable_expert ? 1 : this.search.units_fields
+ return !this.ui.expert_mode ? 1 : this.search.units_fields
},
sortOptions: function () {
let sort_order = []
@@ -960,7 +959,7 @@ export default {
"ui.page_size": _debounce(function () {
this.refreshData(false)
}, 300),
- "ui.enable_expert": function (newVal, oldVal) {
+ "ui.expert_mode": function (newVal, oldVal) {
if (!newVal) {
this.search.search_keywords = this.search.search_keywords.map((x) => {
return { ...x, not: false }