mirror of
https://github.com/twentyhq/twenty.git
synced 2025-01-08 18:03:53 +03:00
Fix tests
This commit is contained in:
parent
c950395eac
commit
c37a39febb
@ -30,6 +30,13 @@ export const ActivityAssigneeEditableField = ({
|
|||||||
fieldName: 'assignee',
|
fieldName: 'assignee',
|
||||||
relationType: Entity.User,
|
relationType: Entity.User,
|
||||||
},
|
},
|
||||||
|
entityChipDisplayMapper: (dataObject: User) => {
|
||||||
|
return {
|
||||||
|
name: dataObject?.displayName,
|
||||||
|
pictureUrl: dataObject?.avatarUrl ?? undefined,
|
||||||
|
avatarType: 'rounded',
|
||||||
|
};
|
||||||
|
},
|
||||||
} satisfies FieldDefinition<FieldRelationMetadata>,
|
} satisfies FieldDefinition<FieldRelationMetadata>,
|
||||||
useUpdateEntityMutation: useUpdateActivityMutation,
|
useUpdateEntityMutation: useUpdateActivityMutation,
|
||||||
hotkeyScope: InlineCellHotkeyScope.InlineCell,
|
hotkeyScope: InlineCellHotkeyScope.InlineCell,
|
||||||
|
Loading…
Reference in New Issue
Block a user