A full-featured CRM built with React, shadcn/ui, and Supabase.
Fix attachment deletion
fzaninottoac00f1505e5f
diff --git a/src/components/admin/file-input.tsx b/src/components/admin/file-input.tsxindex cc9f20cf..e6fb312b 100644--- a/src/components/admin/file-input.tsx+++ b/src/components/admin/file-input.tsx@@ -339,6 +339,7 @@ export const FileInputPreview = (props: FileInputPreviewProps) => {return (<div className={cn("flex flex-row gap-1", className)} {...rest}><Button+ type="button"variant="ghost"size="icon"className="h-6 w-6 rounded-full shadow-sm cursor-pointer"