File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
apps/platform/src/components/AssociationsToolkit/components Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,10 @@ function ActiveFiltersPanel() {
5757
5858 const somePinned = pinnedEntries . length > 0 ;
5959 const someUploaded = uploadedEntries . length > 0 ;
60+ const someFacetFilters = facetFilters . length > 0 ;
6061
6162 const showActiveFilter =
62- facetFilters . length > 0 ||
63- pinnedEntries . length > 0 ||
64- uploadedEntries . length > 0 ||
65- modifiedSourcesDataControls ||
66- entitySearch ;
63+ someFacetFilters || somePinned || someUploaded || modifiedSourcesDataControls || entitySearch ;
6764
6865 const onDelete = ( id : string ) => {
6966 const newState = removeFacet ( facetFilters , id ) ;
@@ -75,6 +72,7 @@ function ActiveFiltersPanel() {
7572 if ( someUploaded ) setUploadedEntries ( [ ] ) ;
7673 if ( entitySearch ) dispatch ( setEntitySearch ( "" ) ) ;
7774 if ( modifiedSourcesDataControls ) resetDatasourceControls ( ) ;
75+ if ( facetFilters . length > 0 ) facetFilterSelect ( [ ] ) ;
7876 } ;
7977
8078 return (
You can’t perform that action at this time.
0 commit comments