diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue index 02d7b034..45f20324 100644 --- a/src/views/settings/index.vue +++ b/src/views/settings/index.vue @@ -222,9 +222,7 @@ export default { querySearch(queryString, cb) { const results = this.searchData.filter(searchObj => searchObj.search.find(el => el.includes(queryString.toLowerCase()))) .map(searchObj => { - return searchObj.groupKey === ':opts' - ? { value: `${searchObj.label} in Auto Linker`, group: searchObj.groupKey, key: searchObj.key } - : { value: `${searchObj.label} in ${searchObj.groupLabel}`, group: searchObj.groupKey, key: searchObj.key } + return { value: `${searchObj.label} in ${searchObj.groupLabel}`, group: searchObj.groupKey, key: searchObj.key } }) cb(results) }, diff --git a/test/views/settings/index.test.js b/test/views/settings/index.test.js index 9455dbb7..4cacf881 100644 --- a/test/views/settings/index.test.js +++ b/test/views/settings/index.test.js @@ -58,8 +58,6 @@ describe('Settings search', () => { wrapper.vm.handleSearchSelect({ group: ':media_proxy', key: ':ssl_options' }) expect(store.state.settings.activeTab).toBe('media-proxy') - wrapper.vm.handleSearchSelect({ group: ':opts', key: ':opts' }) - expect(store.state.settings.activeTab).toBe('auto-linker') done() }) })