Skip to content

Commit

Permalink
CDP #23 - Fixing include/exclude logic in FacetStateContextProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
dleadbetter committed Jan 8, 2025
1 parent ef4d8a7 commit 952ddc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const FacetStateContextProvider = (props: Props) => {
}

if (!_.isEmpty(props.exclude)) {
return _.contains(props.exclude, field.name);
return !_.contains(props.exclude, field.name);
}

return true;
Expand Down

0 comments on commit 952ddc5

Please sign in to comment.