changed let to const
This commit is contained in:
parent
88765ad093
commit
36012e7d6f
|
@ -166,7 +166,7 @@ export class SearchService implements SearchServiceAbstraction {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c.hasFields) {
|
if (c.hasFields) {
|
||||||
for (let field of c.fields) {
|
for (const field of c.fields) {
|
||||||
if (field.value.toLowerCase().indexOf(query) > -1) {
|
if (field.value.toLowerCase().indexOf(query) > -1) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue