mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 01:32:06 +10:00
fix: improve document attachment rendering logic
This commit is contained in:
@ -377,7 +377,7 @@ export const DocumentSigningForm = ({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{document.attachments && (
|
{document.attachments?.length > 0 && (
|
||||||
<Accordion type="multiple" className="mt-2">
|
<Accordion type="multiple" className="mt-2">
|
||||||
<AccordionItem value="attachments" className="border-none">
|
<AccordionItem value="attachments" className="border-none">
|
||||||
<AccordionTrigger className="text-foreground mb-2 rounded border px-3 py-2 text-left hover:bg-neutral-200/30 hover:no-underline">
|
<AccordionTrigger className="text-foreground mb-2 rounded border px-3 py-2 text-left hover:bg-neutral-200/30 hover:no-underline">
|
||||||
|
|||||||
Reference in New Issue
Block a user