The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
refactor: rename logo to domain
Sammy Teillet51fc383b1ade
diff --git a/front/src/interfaces/company.interface.ts b/front/src/interfaces/company.interface.tsindex 05e76c2a960..c5eba718f1f 100644--- a/front/src/interfaces/company.interface.ts+++ b/front/src/interfaces/company.interface.ts@@ -1,5 +1,5 @@export interface Company {id: number;name: string;- logo: string;+ domain: string;}diff --git a/front/src/pages/people/People.tsx b/front/src/pages/people/People.tsxindex 3135ce971e8..6205a941a46 100644--- a/front/src/pages/people/People.tsx+++ b/front/src/pages/people/People.tsx@@ -48,7 +48,7 @@ const defaultData: Array<Person> = [fullName: 'Alexandre Prot',picture: personPlaceholder,email: '[email protected]',- company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },+ company: { id: 1, name: 'Qonto', domain: 'qonto.com' },phone: '06 12 34 56 78',creationDate: new Date('Feb 23, 2018'),pipe: { id: 1, name: 'Sales Pipeline', icon: 'faUser' },@@ -59,7 +59,7 @@ const defaultData: Array<Person> = [fullName: 'Alexandre Prot',picture: personPlaceholder,email: '[email protected]',- company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },+ company: { id: 1, name: 'Qonto', domain: 'qonto.com' },phone: '06 12 34 56 78',creationDate: new Date('Feb 23, 2018'),pipe: { id: 1, name: 'Sales Pipeline', icon: 'faUser' },@@ -70,7 +70,7 @@ const defaultData: Array<Person> = [fullName: 'Alexandre Prot',picture: personPlaceholder,email: '[email protected]',- company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },+ company: { id: 1, name: 'Qonto', domain: 'qonto.com' },phone: '06 12 34 56 78',creationDate: new Date('Feb 23, 2018'),pipe: { id: 1, name: 'Sales Pipeline', icon: 'faUser' },@@ -81,7 +81,7 @@ const defaultData: Array<Person> = [fullName: 'Alexandre Prot',picture: personPlaceholder,email: '[email protected]',- company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },+ company: { id: 1, name: 'Qonto', domain: 'qonto.com' },phone: '06 12 34 56 78',creationDate: new Date('Feb 23, 2018'),pipe: { id: 1, name: 'Sales Pipeline', icon: 'faUser' },@@ -92,7 +92,7 @@ const defaultData: Array<Person> = [fullName: 'Alexandre Prot',picture: personPlaceholder,email: '[email protected]',- company: { id: 1, name: 'Qonto', logo: 'https://qonto.eu/logo.png' },+ company: { id: 1, name: 'Qonto', domain: 'qonto.com' },phone: '06 12 34 56 78',creationDate: new Date('Feb 23, 2018'),pipe: { id: 1, name: 'Sales Pipeline', icon: 'faUser' },@@ -133,7 +133,7 @@ const columns = [cell: (props) => (<CellLinkname={props.row.original.company.name}- picture={props.row.original.company.logo}+ picture={props.row.original.company.domain}href="#"/>),