The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Remove empty values from relation picker (#986)
Moussa Bistamidc18bc40b071
diff --git a/front/src/modules/ui/relation-picker/components/SingleEntitySelectBase.tsx b/front/src/modules/ui/relation-picker/components/SingleEntitySelectBase.tsxindex 2f11e073fb0..9557290c927 100644--- a/front/src/modules/ui/relation-picker/components/SingleEntitySelectBase.tsx+++ b/front/src/modules/ui/relation-picker/components/SingleEntitySelectBase.tsx@@ -68,6 +68,10 @@ export function SingleEntitySelectBase<[onCancel],);+ entitiesInDropdown = entitiesInDropdown.filter((entity) =>+ isNonEmptyString(entity.name.trim()),+ );+return (<DropdownMenuItemsContainer ref={containerRef} hasMaxHeight>{entities.loading ? (