1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-27 10:46:02 +02:00

subtitle should be searchable

This commit is contained in:
Kyle Spearrin 2017-10-31 10:29:31 -04:00
parent 015658b6df
commit 72d09b0331

View File

@ -106,7 +106,7 @@
if (cipher.name && cipher.name.toLowerCase().indexOf(searchTerm) !== -1) {
return true;
}
if (cipher.username && cipher.username.toLowerCase().indexOf(searchTerm) !== -1) {
if (cipher.subTitle && cipher.subTitle.toLowerCase().indexOf(searchTerm) !== -1) {
return true;
}
if (cipher.login && cipher.login.uri && cipher.login.uri.toLowerCase().indexOf(searchTerm) !== -1) {