From 1d22470bd0bbaa53bbdac18d548a00056dc9f9ed Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Mon, 7 Oct 2024 13:10:03 -0400 Subject: [PATCH] Cope with class name change on filter input --- .../src/arches_references/components/tree/ListTree.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arches_references/src/arches_references/components/tree/ListTree.vue b/arches_references/src/arches_references/components/tree/ListTree.vue index 555ecef..24a915b 100644 --- a/arches_references/src/arches_references/components/tree/ListTree.vue +++ b/arches_references/src/arches_references/components/tree/ListTree.vue @@ -187,13 +187,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