Skip to content

Commit b630180

Browse files
Minor fix on checkIfExists
1 parent be17afd commit b630180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function checkIfExists (source, term) {
156156
source = source.map(s => s.toLowerCase())
157157

158158
if (_.isString(term)) {
159-
terms = term.split(' ')
159+
terms = term.toLowerCase().split(' ')
160160
} else if (_.isArray(term)) {
161161
terms = term.map(t => t.toLowerCase())
162162
} else {

0 commit comments

Comments
 (0)