Add comment.
This commit is contained in:
parent
4d78134649
commit
644cd5a67b
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Prioritize matched typed entries to top of list
|
||||||
const priorityMatches = matches.filter((companyName, index) => {
|
const priorityMatches = matches.filter((companyName, index) => {
|
||||||
if (companyName.toUpperCase().indexOf(term) === 0) {
|
if (companyName.toUpperCase().indexOf(term) === 0) {
|
||||||
return companyName;
|
return companyName;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue