Skip to content

Commit aaf9b32

Browse files
committed
Add check for highlighting in non-async mode as well
1 parent fe98b6f commit aaf9b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/primer/open_project/filterable_tree_view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ export class FilterableTreeViewElement extends HTMLElement {
704704
this.treeViewList.removeAttribute('hidden')
705705
this.noResultsMessage.setAttribute('hidden', 'hidden')
706706

707-
this.#applyHighlights(allRanges)
707+
if (this.#clientHighlightsEnabled) this.#applyHighlights(allRanges)
708708
}
709709
}
710710

0 commit comments

Comments
 (0)