From 109a28354136ef3409a1ba18398961fb4e915752 Mon Sep 17 00:00:00 2001 From: ad-elias Date: Fri, 18 Oct 2024 13:27:46 +0200 Subject: [PATCH] Hide add advanced filter button --- .../components/MultipleFiltersDropdownContent.tsx | 2 +- .../components/ObjectFilterDropdownFilterSelect.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/MultipleFiltersDropdownContent.tsx b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/MultipleFiltersDropdownContent.tsx index 1e019b6c77e5..87993e4a19fa 100644 --- a/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/MultipleFiltersDropdownContent.tsx +++ b/packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/MultipleFiltersDropdownContent.tsx @@ -52,7 +52,7 @@ export const MultipleFiltersDropdownContent = ({ ) : shouldShowCompositeSelectionSubMenu ? ( ) : ( - + )} void; + isAdvancedFilterButtonVisible?: boolean; } export const ObjectFilterDropdownFilterSelect = ({ onSelectField, + isAdvancedFilterButtonVisible, }: ObjectFilterDropdownFilterSelectProps) => { const { setObjectFilterDropdownSearchInput, @@ -177,7 +179,7 @@ export const ObjectFilterDropdownFilterSelect = ({ )} - + {isAdvancedFilterButtonVisible && } ); };