mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 17:12:53 +03:00
Remove empty values from relation picker (#986)
fix: empty name values in SingleEntitySelectBase
This commit is contained in:
parent
5c376cbabb
commit
dc18bc40b0
@ -68,6 +68,10 @@ export function SingleEntitySelectBase<
|
||||
[onCancel],
|
||||
);
|
||||
|
||||
entitiesInDropdown = entitiesInDropdown.filter((entity) =>
|
||||
isNonEmptyString(entity.name.trim()),
|
||||
);
|
||||
|
||||
return (
|
||||
<DropdownMenuItemsContainer ref={containerRef} hasMaxHeight>
|
||||
{entities.loading ? (
|
||||
|
Loading…
Reference in New Issue
Block a user