Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #292 from rspier/enablesearching
Browse files Browse the repository at this point in the history
Check for boolean value, not string value of EnableSearching.
  • Loading branch information
subdavis committed May 15, 2019
2 parents 07c4ae8 + 58f512f commit 6d338e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/keepassService.js
Expand Up @@ -167,7 +167,7 @@ function KeepassService(keepassHeader, settings, passwordFileStoreRegistry, keep
};
// Entry properties defined by the parent group
entry.searchable = true;
if (group.enableSearching == 'false') //verify
if (group.enableSearching === false)
entry.searchable = false;
entry.groupIconId = group.icon;
entry.keys.push("groupName");
Expand Down Expand Up @@ -262,4 +262,4 @@ function KeepassService(keepassHeader, settings, passwordFileStoreRegistry, keep

export {
KeepassService
}
}

0 comments on commit 6d338e9

Please sign in to comment.