Skip to content

Commit 36d743f

Browse files
authored
Update DataList values even when search active
Fix bug where DataList values do not update if search term is active
1 parent 8036738 commit 36d743f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/UI/Basic/Facet/FacetDataList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const FacetDataList = (props: FacetProps) => {
2626
return true;
2727
}) || []
2828
);
29-
}, [searchTerm]);
29+
}, [searchTerm, props.availableValues]);
3030

3131
return (
3232
<div className="xo__facet xo__facet__data-list">

0 commit comments

Comments
 (0)