Merge pull request #284 from pmjklemm/fix_sameTab

bugfix: sameTab does not work if prefix is localSearch
This commit is contained in:
pawelmalak 2023-07-20 19:24:49 +02:00 committed by GitHub
commit c2d580ee0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,9 +55,8 @@ export const searchParser = (searchQuery: string): SearchResult => {
if (prefix === 'l') {
result.isLocal = true;
} else {
result.sameTab = config.searchSameTab;
}
result.sameTab = config.searchSameTab;
if (secondarySearch) {
result.secondarySearch = secondarySearch;