fix enter select

This commit is contained in:
jonaswinkler
2020-12-28 12:48:41 +01:00
parent 91afd39a0e
commit a42a2c3733
2 changed files with 13 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ import { MatchingModel } from '../data/matching-model';
name: 'filter'
})
export class FilterPipe implements PipeTransform {
transform(items: MatchingModel[], searchText: string): any[] {
transform(items: MatchingModel[], searchText: string): MatchingModel[] {
if (!items) return [];
if (!searchText) return items;