Skip to content

Commit

Permalink
[Finch tracker] Highligh search results in params (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m authored Jan 26, 2024
1 parent 165dbf4 commit af5edc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/web/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export function ExperimentItem(props: {
exp: ExperimentModel;
filter: StudyFilter;
}) {
const paramsList = props.exp.parameters().map((p) => <li key={p}>{p}</li>);
const paramsList = props.exp
.parameters()
.map((p) => <li key={p}>{maybeHighlight(props.filter, p)}</li>);
const classes =
'list-group-item ' +
(props.exp.isMajorGroup() ? 'major-exp-item' : 'exp-item');
Expand Down

0 comments on commit af5edc2

Please sign in to comment.