diff --git a/src/features/search/helpers/useSortedSearchCategories/useSortedSearchCategories.ts b/src/features/search/helpers/useSortedSearchCategories/useSortedSearchCategories.ts index aa5cc12dde5..f9788cf215c 100644 --- a/src/features/search/helpers/useSortedSearchCategories/useSortedSearchCategories.ts +++ b/src/features/search/helpers/useSortedSearchCategories/useSortedSearchCategories.ts @@ -29,7 +29,7 @@ export const useSortedSearchCategories = (): ListCategoryButtonProps => { hasAThematicSearch.includes(facetFilter) ? 'ThematicSearch' : 'SearchResults', { offerCategories: [facetFilter], - isFullyDigitalOffersCategory: (data && isOnlyOnline(data, facetFilter)) || undefined, + isFullyDigitalOffersCategory: data && isOnlyOnline(data, facetFilter), searchId: uuidv4(), } )