A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix default note date on mobile
fzaninotto4268cba3c649
diff --git a/src/components/atomic-crm/notes/NoteCreateSheet.tsx b/src/components/atomic-crm/notes/NoteCreateSheet.tsxindex 3ee7233f..95850e5e 100644--- a/src/components/atomic-crm/notes/NoteCreateSheet.tsx+++ b/src/components/atomic-crm/notes/NoteCreateSheet.tsx@@ -74,7 +74,7 @@ export const NoteCreateSheet = ({[foreignKeyMapping["contacts"]]:contact_id ?? data[foreignKeyMapping["contacts"]],sales_id: identity.id,- date: data.date || getCurrentDate(),+ date: new Date(data.date || getCurrentDate()).toISOString(),})}mutationOptions={{onSuccess: handleSuccess,