Skip to content

Commit 95104cd

Browse files
Fix highlighting searched feature with apollo id
1 parent 14397a5 commit 95104cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jbrowse-plugin-apollo/src/ApolloTextSearchAdapter/ApolloTextSearchAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function getMatchedFeature(
1616
feature: AnnotationFeatureSnapshot,
1717
): AnnotationFeatureSnapshot | undefined {
1818
// @ts-expect-error this actually has a bit more info that a plain snapshot
19-
const { children, indexedIds, ...featureWithoutChildren } = feature
19+
const { children, indexedIds, allIds, ...featureWithoutChildren } = feature
2020
const featureString = JSON.stringify(featureWithoutChildren)
2121
if (featureString.includes(query)) {
2222
return feature

0 commit comments

Comments
 (0)