Fix/relation picker (#546)

* FIx pickers

* Fix

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Lucas Bordeau
2023-07-09 03:43:41 +02:00
committed by GitHub
parent 9d25d003ca
commit 795bead1bb
6 changed files with 29 additions and 9 deletions

View File

@ -80,6 +80,11 @@ export function FilterDropdownButton() {
}
}
useHotkeysScopeOnBooleanState(
{ scope: InternalHotkeysScope.RelationPicker },
tableFilterDefinitionUsedInDropdown?.type === 'entity',
);
return (
<DropdownButton
label="Filter"