diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue index ff1b3435..a9fe87e5 100644 --- a/src/views/settings/index.vue +++ b/src/views/settings/index.vue @@ -33,7 +33,7 @@ @@ -227,6 +227,11 @@ export default { : { value: `${searchObj.label} in ${searchObj.groupLabel}`, group: searchObj.groupKey, key: searchObj.key } }) cb(results) + }, + settingsCantBeChanged(settings) { + const existingSettings = settings.filter(setting => + this.$store.state.settings.description.findIndex(el => el.key === setting) !== -1) + return existingSettings.length === 0 } } }