mirror of
https://github.com/bitwarden/browser
synced 2025-01-23 17:53:31 +01:00
removed leaky code
This commit is contained in:
parent
44903ef807
commit
5d93c84ae6
@ -164,19 +164,6 @@ export class SearchService implements SearchServiceAbstraction {
|
||||
if (c.login && c.login.uri != null && c.login.uri.toLowerCase().indexOf(query) > -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (c.hasFields) {
|
||||
for (const field of c.fields) {
|
||||
if (field.value.toLowerCase().indexOf(query) > -1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (field.name.toLowerCase().indexOf(query) > -1) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user