Skip to content

Commit

Permalink
fix(preact-components/facetoptions): modifying facet options componen…
Browse files Browse the repository at this point in the history
…ts to utilize refinedValues
  • Loading branch information
korgon committed Mar 26, 2024
1 parent eb44b26 commit 9002d17
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const FacetGridOptions = observer((properties: FacetGridOptionsProps): JS
styling.css = [style];
}

const facetValues = values || facet?.values;
const facetValues = values || facet?.refinedValues;

return facetValues?.length ? (
<CacheProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const FacetHierarchyOptions = observer((properties: FacetHierarchyOptions
styling.css = [style];
}

const facetValues = values || facet?.values;
const facetValues = values || facet?.refinedValues;

return facetValues?.length ? (
<CacheProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const FacetListOptions = observer((properties: FacetListOptionsProps): JS
styling.css = [style];
}

const facetValues = values || facet?.values;
const facetValues = values || facet?.refinedValues;

return facetValues?.length ? (
<CacheProvider>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const FacetPaletteOptions = observer((properties: FacetPaletteOptionsProp
styling.css = [style];
}

const facetValues = values || facet?.values;
const facetValues = values || facet?.refinedValues;

return facetValues?.length ? (
<CacheProvider>
Expand Down

0 comments on commit 9002d17

Please sign in to comment.