Skip to content

Commit

Permalink
Enable lookup of rule by id
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Blanchaert authored and renekrie committed Feb 8, 2024
1 parent cd61a02 commit df28a83
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export class RulesListComponent implements OnChanges {
return true;
}

if (searchTermLower == item.id) {
return true;
}

// otherwise, we have a chance in the synonyms ...
// TODO evaluate to check for undirected synonyms (synonymType) only
for (const s of item.synonyms) {
Expand Down

0 comments on commit df28a83

Please sign in to comment.