Skip to content

Commit

Permalink
fix: Branch search format breaking (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
egekocabas authored Feb 3, 2025
1 parent 1cc9c2c commit 0d1e309
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@
<p-treeTableToggler [rowNode]="rowNode" />

<p-tag>
<div class="flex items-center">
<div class="whitespace-normal inline-flex flex-wrap items-baseline">
@for (part of branch.name | highlight: searchTableService.searchValue(); track part.text) {
<span [class.bg-yellow-200]="part.highlight" [class.font-semibold]="part.highlight" [class.rounded]="part.highlight">
{{ part.text }}
</span>
@if (part.highlight) {
<mark>{{ part.text }}</mark>
} @else {
<span>{{ part.text }}</span>
}
}
</div>
</p-tag>
Expand Down

0 comments on commit 0d1e309

Please sign in to comment.