Set default pipe icon
This commit is contained in:
@ -32,7 +32,7 @@ export type GraphqlPerson = {
|
|||||||
export const mapPerson = (person: GraphqlPerson): Person => ({
|
export const mapPerson = (person: GraphqlPerson): Person => ({
|
||||||
fullName: `${person.firstname} ${person.lastname}`,
|
fullName: `${person.firstname} ${person.lastname}`,
|
||||||
creationDate: new Date(person.created_at),
|
creationDate: new Date(person.created_at),
|
||||||
pipe: { name: 'coucou', id: 1, icon: 'faUser' },
|
pipe: { name: 'coucou', id: 1, icon: '💰' },
|
||||||
...person,
|
...person,
|
||||||
company: {
|
company: {
|
||||||
id: 1,
|
id: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user