diff --git a/examples/crm/src/activity/ActivityLogContactNoteCreated.tsx b/examples/crm/src/activity/ActivityLogContactNoteCreated.tsx index 710abaea59..fd09fbc4a1 100644 --- a/examples/crm/src/activity/ActivityLogContactNoteCreated.tsx +++ b/examples/crm/src/activity/ActivityLogContactNoteCreated.tsx @@ -43,7 +43,9 @@ export function ActivityLogContactNoteCreated({ - + } text={contactNote.text} diff --git a/examples/crm/src/activity/ActivityLogDealNoteCreated.tsx b/examples/crm/src/activity/ActivityLogDealNoteCreated.tsx index d81aea982a..ee40e1c41f 100644 --- a/examples/crm/src/activity/ActivityLogDealNoteCreated.tsx +++ b/examples/crm/src/activity/ActivityLogDealNoteCreated.tsx @@ -41,7 +41,7 @@ export function ActivityLogDealNoteCreated({ - + } text={dealNote.text} diff --git a/examples/crm/src/dataProvider/activity.ts b/examples/crm/src/dataProvider/activity.ts index 0fc342ff34..1d41992e58 100644 --- a/examples/crm/src/dataProvider/activity.ts +++ b/examples/crm/src/dataProvider/activity.ts @@ -135,7 +135,7 @@ async function getContactsLog( sale: salesDict.get(contactNote.sales_id) as Sale, contact, contactNote, - date: contactNote.date, + date: contactNote.date.toISOString(), }; }) ); @@ -192,7 +192,7 @@ async function getDealsLog( sale: salesDict.get(dealNote.sales_id) as Sale, deal, dealNote, - date: dealNote.date, + date: dealNote.date.toISOString(), }; }) );