Skip to content

Commit

Permalink
Cope with class name change on filter input
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Oct 7, 2024
1 parent d573170 commit 0c18bf9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ const expandPathsToFilterResults = (newFilterValue: string) => {
nextFilterChangeNeedsExpandAll.value = false;
};
const getInputElement = () => {
function getInputElement() {
if (treeComponent.value !== null) {
return treeComponent.value.$el.ownerDocument.querySelector(
'input[data-pc-name="pcfilter"]',
'input[data-pc-name="pcfilterinput"]',
) as HTMLInputElement;
}
};
}
const restoreFocusToInput = () => {
// The current implementation of collapsing all nodes when
Expand Down

0 comments on commit 0c18bf9

Please sign in to comment.