1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

removed leaky code

This commit is contained in:
Addison Beck 2020-07-16 15:44:39 -05:00
parent 80c5ded785
commit 5a95c42937

View File

@ -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;
});
}