Skip to content

Commit

Permalink
fix(v2): restore Algolia search (#3828)
Browse files Browse the repository at this point in the history
  • Loading branch information
lex111 authored Nov 27, 2020
1 parent bd62be9 commit 0f13780
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export default function useAlgoliaContextualFacetFilters() {

const tagsFilter = tags.map((tag) => `docusaurus_tag:${tag}`);

return [languageFilter, tagsFilter];
return [...(locale ? languageFilter : []), tagsFilter];
}

0 comments on commit 0f13780

Please sign in to comment.