Fix tests

This commit is contained in:
Charles Bochet 2023-10-09 23:23:04 +02:00
parent c950395eac
commit c37a39febb

View File

@ -30,6 +30,13 @@ export const ActivityAssigneeEditableField = ({
fieldName: 'assignee',
relationType: Entity.User,
},
entityChipDisplayMapper: (dataObject: User) => {
return {
name: dataObject?.displayName,
pictureUrl: dataObject?.avatarUrl ?? undefined,
avatarType: 'rounded',
};
},
} satisfies FieldDefinition<FieldRelationMetadata>,
useUpdateEntityMutation: useUpdateActivityMutation,
hotkeyScope: InlineCellHotkeyScope.InlineCell,