File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
packages/instant-meilisearch/src/cache Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,8 @@ export async function initFacetDistribution(
3333 // Used to show the facets when `placeholderSearch` is set to true
3434 // Used to fill the missing facet values when `keepZeroFacets` is set to true
3535 if ( ! initialFacetDistribution [ searchContext . indexUid ] ) {
36- initialFacetDistribution [
37- searchContext . indexUid
38- ] = await getIndexFacetDistribution ( searchResolver , searchContext )
36+ initialFacetDistribution [ searchContext . indexUid ] =
37+ await getIndexFacetDistribution ( searchResolver , searchContext )
3938 }
4039
4140 return initialFacetDistribution
Original file line number Diff line number Diff line change @@ -33,9 +33,8 @@ export async function initFacetDistribution(
3333 // Used to show the facets when `placeholderSearch` is set to true
3434 // Used to fill the missing facet values when `keepZeroFacets` is set to true
3535 if ( ! initialFacetDistribution [ searchContext . indexUid ] ) {
36- initialFacetDistribution [
37- searchContext . indexUid
38- ] = await getIndexFacetDistribution ( searchResolver , searchContext )
36+ initialFacetDistribution [ searchContext . indexUid ] =
37+ await getIndexFacetDistribution ( searchResolver , searchContext )
3938 }
4039
4140 return initialFacetDistribution
You can’t perform that action at this time.
0 commit comments