mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-11 19:40:47 +01:00
trim lunr query after >
This commit is contained in:
parent
bdbba8c493
commit
1f9fbe43d7
@ -97,7 +97,7 @@ export class SearchService implements SearchServiceAbstraction {
|
||||
const isQueryString = query != null && query.length > 1 && query.indexOf('>') === 0;
|
||||
if (isQueryString) {
|
||||
try {
|
||||
searchResults = index.search(query.substr(1));
|
||||
searchResults = index.search(query.substr(1).trim());
|
||||
} catch { }
|
||||
} else {
|
||||
// tslint:disable-next-line
|
||||
|
Loading…
Reference in New Issue
Block a user