The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
feat: use favicon icon in company chip
Sammy Teillet38cc857f77d5
diff --git a/front/src/pages/people/People.tsx b/front/src/pages/people/People.tsxindex 6205a941a46..fc6831b422f 100644--- a/front/src/pages/people/People.tsx+++ b/front/src/pages/people/People.tsx@@ -59,7 +59,7 @@ const defaultData: Array<Person> = [fullName: 'Alexandre Prot',picture: personPlaceholder,email: '[email protected]',- company: { id: 1, name: 'Qonto', domain: 'qonto.com' },+ company: { id: 2, name: 'LinkedIn', domain: 'linkedin.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', domain: 'qonto.com' },+ company: { id: 1, name: 'Slack', domain: 'slack.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', domain: 'qonto.com' },+ company: { id: 2, name: 'Facebook', domain: 'facebook.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.domain}+ picture={`https://www.google.com/s2/favicons?domain=${props.row.original.company.domain}&sz=256`}href="#"/>),