Skip to content
Snippets Groups Projects
Commit ddab61ee authored by Joanna Kaźmierczak's avatar Joanna Kaźmierczak
Browse files

fixed search on appinstance view

parent 8ad772d3
Branches
Tags
3 merge requests!41Revert "Merge branch '221-improve-sorting-in-the-application-list-view' into 'release/1.6.4'",!39release/1.6.4 into develop,!36Resolve "Search option on application instances list view should work for Name and Application columns"
......@@ -13,13 +13,11 @@ export class AppinstanceSearchPipe implements PipeTransform {
let result = [];
value.forEach( val => {
if (val.name.toLowerCase().includes(searchValue.toLowerCase() ||
val.applicationName.toLowerCase().includes(searchValue.toLowerCase()) ||
val.id.toLowerCase().includes(searchValue.toLowerCase()))
if (val.name.toLowerCase().includes(searchValue.toLowerCase()) ||
val.applicationName.toLowerCase().includes(searchValue.toLowerCase())
) {
result.push(val);
}
})
return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment