Fixed issue with switch component on mydspace page

This commit is contained in:
lotte
2019-05-29 09:24:33 +02:00
parent 24fdbaf0bd
commit 49dc4b86e2
6 changed files with 30 additions and 5 deletions

View File

@@ -237,7 +237,7 @@ export class SubmissionFormCollectionComponent implements OnChanges, OnInit {
if (isEmpty(searchTerm)) {
return listCollection;
} else {
return listCollection.filter((v) => v.collection.name.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1).slice(0, 5)
return listCollection.filter((v) => v.collection.name.toLowerCase().indexOf(searchTerm.toLowerCase()) > -1).slice(0, 5);
}
}));
}