Skip to content

Commit 6fe6852

Browse files
committed
184: removed unwanted comments
1 parent a3a299a commit 6fe6852

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/utils/dataNormalization.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,13 @@ export const searchEmployeesOfName = (employeesList, characters) => {
122122
var name = (employee.firstName + " " + employee.lastName).toLowerCase();
123123
var department = employee.department.name.toLowerCase();
124124
var mobilePhone = employee.contact.mobilePhone;
125-
console.log(name, department, chars)
126125
if (parseInt(chars.substring(0, 1))) {
127126
// first character number
128127
if ((mobilePhone.search(chars)) !== -1) { //This method returns -1 if no match is found.
129128
return employee
130129
}
131130
} else {
132131
if ((name.search(chars) !== -1) || (department.search(chars)) !== -1) { //This method returns -1 if no match is found.
133-
// console.log('employee---', employee)
134132
return employee
135133
}
136134
}

0 commit comments

Comments
 (0)