Skip to content

Commit

Permalink
fix tag search in tag component
Browse files Browse the repository at this point in the history
  • Loading branch information
Abradat committed Nov 12, 2024
1 parent cfbcf7c commit 4dc12fe
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ export class TagsHeaderComponent implements OnInit, OnChanges {
const filterValue = value.toLowerCase();
return this.allTags.filter(
(tag) =>
tag.name.toLowerCase().startsWith(filterValue) &&
!this.tags.some((selectedTag) => selectedTag.uuid === tag.uuid),
tag.name.toLowerCase().includes(filterValue) && !this.tags.some((selectedTag) => selectedTag.uuid === tag.uuid),
);
}

Expand Down

0 comments on commit 4dc12fe

Please sign in to comment.