diff --git a/src/views/DataExploration/index.tsx b/src/views/DataExploration/index.tsx index 9efa1b8e..5f556802 100644 --- a/src/views/DataExploration/index.tsx +++ b/src/views/DataExploration/index.tsx @@ -293,6 +293,7 @@ const DataExploration = () => { if (regexp.exec(label)) { ++totalResult; + bucketFiltered.push({ key: bucket.key, label, @@ -313,7 +314,10 @@ const DataExploration = () => { label: facetName, type: 'title', index: getIndexFromQFValueFacet(key), - categoryIcon: , + categoryIcon: + bucketFiltered.length > 0 ? ( + + ) : undefined, }); suggestions.push(...bucketFiltered); }