Skip to content

Commit

Permalink
front: keep operational points whose name contains the query in stdcm…
Browse files Browse the repository at this point in the history
… form

Signed-off-by: Clara Ni <[email protected]>
  • Loading branch information
clarani committed Jan 9, 2025
1 parent ffb359d commit 46bea7d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const StdcmOperationalPoint = ({ location, pathStepId, disabled }: StdcmOperatio
.filter(
(op) =>
normalized(op.name).startsWith(normalized(searchTerm)) ||
normalized(op.name).includes(normalized(searchTerm)) ||
op.trigram === searchTerm.toUpperCase()
)
.reduce<Option[]>((acc, p) => {
Expand Down

0 comments on commit 46bea7d

Please sign in to comment.