Fix created by filter dropdown that appears on other filter types. (#11126)
Fixes https://github.com/twentyhq/twenty/issues/11077 This PR fixes a bug where the actor source filter dropdown input was showing on other field types filter dropdown input. It just adds a check to show this particular actor source filter dropdown input only if the field type is ACTOR. Sub field name reset and lifecycle will be handled in the incoming work on sub field filtering.
This commit is contained in:
@ -90,7 +90,7 @@ export const ObjectFilterDropdownFilterInput = ({
|
||||
<ObjectFilterDropdownRecordSelect />
|
||||
</>
|
||||
)}
|
||||
{isActorSourceCompositeFilter && (
|
||||
{filterType === 'ACTOR' && isActorSourceCompositeFilter && (
|
||||
<>
|
||||
<DropdownMenuSeparator />
|
||||
<ObjectFilterDropdownSourceSelect />
|
||||
|
||||
Reference in New Issue
Block a user