Improve opportunity behavior (#3487)
* Fix opportunity relation * Fix * Fix * Fix tests * Fix * Fix * Fix opportunities * Fix Opportunity standard object and apply maxWidth to text ellipsis * Update packages/twenty-front/src/modules/ui/field/display/components/EllipsisDisplay.tsx Co-authored-by: Thaïs <guigon.thais@gmail.com> * Fix --------- Co-authored-by: Thaïs <guigon.thais@gmail.com>
This commit is contained in:
@ -70,17 +70,15 @@ export const RelationPicker = ({
|
||||
onSubmit(selectedEntity ?? null);
|
||||
|
||||
return (
|
||||
<>
|
||||
<SingleEntitySelect
|
||||
EmptyIcon={IconForbid}
|
||||
emptyLabel={'No ' + fieldDefinition.label}
|
||||
entitiesToSelect={entities.entitiesToSelect}
|
||||
loading={entities.loading}
|
||||
onCancel={onCancel}
|
||||
onEntitySelected={handleEntitySelected}
|
||||
selectedEntity={entities.selectedEntities[0]}
|
||||
width={width}
|
||||
/>
|
||||
</>
|
||||
<SingleEntitySelect
|
||||
EmptyIcon={IconForbid}
|
||||
emptyLabel={'No ' + fieldDefinition.label}
|
||||
entitiesToSelect={entities.entitiesToSelect}
|
||||
loading={entities.loading}
|
||||
onCancel={onCancel}
|
||||
onEntitySelected={handleEntitySelected}
|
||||
selectedEntity={entities.selectedEntities[0]}
|
||||
width={width}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user