You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2020/08/20 17:57:16 UTC

[incubator-streampipes] 01/02: [STREAMPIPES-205] Make pipeline element search case-insensitive

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit bef3921ac57342a1bc3cbe03dc0f57aaf5369eed
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Thu Aug 20 19:45:53 2020 +0200

    [STREAMPIPES-205] Make pipeline element search case-insensitive
---
 .../pipeline-element-icon-stand.component.ts                            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.ts b/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.ts
index 21dc89d..16604e6 100644
--- a/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.ts
+++ b/ui/src/app/editor/components/pipeline-element-icon-stand/pipeline-element-icon-stand.component.ts
@@ -88,7 +88,7 @@ export class PipelineElementIconStandComponent implements OnInit {
     }
 
     matchesText(el: PipelineElementUnion): boolean {
-        return this.elementFilter === "" || el.name.includes(this.elementFilter);
+        return this.elementFilter === "" || el.name.toLowerCase().includes(this.elementFilter.toLowerCase());
     }
 
     matchesCategory(el: PipelineElementUnion): boolean {