1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-20 06:56:40 +02:00

fix #1395 - advanced search will cause a typeerror

This commit is contained in:
Harshal Lele 2020-03-13 13:37:12 +05:30
parent 85c07dba9c
commit f153d99744

View File

@ -296,7 +296,7 @@ class EntryModel extends Model {
matchStringMulti(lower, str, find, context) {
if (lower) {
str = str.toLowerCase();
str = str.isProtected ? str.getText().toLowerCase() : str.toLowerCase();
}
for (let i = 0; i < find.length; i++) {
const item = find[i];