A full-featured CRM built with React, shadcn/ui, and Supabase.
Apply review
Anibal Svarcasb84885aca796
diff --git a/src/components/atomic-crm/notes/AttachmentField.tsx b/src/components/atomic-crm/notes/AttachmentField.tsxindex 50ca3471..02968227 100644--- a/src/components/atomic-crm/notes/AttachmentField.tsx+++ b/src/components/atomic-crm/notes/AttachmentField.tsx@@ -56,6 +56,7 @@ export const AttachmentField = (props: FileFieldProps) => {href={srcValue}title={titleValue}target={target}+ rel="noopener noreferrer"download={download}// useful to prevent click bubbling in a DataTable with rowClickonClick={(e) => e.stopPropagation()}@@ -72,6 +73,7 @@ export const AttachmentField = (props: FileFieldProps) => {href={srcValue}title={titleValue}target={target}+ rel="noopener noreferrer"download={download}// useful to prevent click bubbling in a DataTable with rowClickonClick={(e) => e.stopPropagation()}diff --git a/src/components/atomic-crm/notes/NoteAttachments.tsx b/src/components/atomic-crm/notes/NoteAttachments.tsxindex 6e16111c..ae9914ed 100644--- a/src/components/atomic-crm/notes/NoteAttachments.tsx+++ b/src/components/atomic-crm/notes/NoteAttachments.tsx@@ -23,13 +23,14 @@ export const NoteAttachments = ({ note }: { note: ContactNote | DealNote }) => {);return (- <div className="flex flex-col">+ <div className="mt-2 flex flex-col gap-2">{imageAttachments.length > 0 && (<div className="grid grid-cols-4 gap-8">{imageAttachments.map((attachment: AttachmentNote, index: number) => (<div key={index}><ahref={attachment.src}+ title={attachment.title}target="_blank"rel="noopener noreferrer"className="block"