aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/common/shared
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/client/src/app/common/shared')
-rw-r--r--cds-ui/client/src/app/common/shared/pipes/search.pipe.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts b/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts
index 08c76df5b..fd7af89ba 100644
--- a/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts
+++ b/cds-ui/client/src/app/common/shared/pipes/search.pipe.ts
@@ -31,8 +31,8 @@ export class SearchPipe implements PipeTransform{
if(!searchText) return items;
searchText = searchText.toLowerCase();
return items.filter( it => {
- if(it.tags) {
- return it.tags.toLowerCase().includes(searchText);
+ if(it.name) {
+ return it.name.toLowerCase().includes(searchText);
} else {
return items;
}