mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
feat: enhance document management by adding attachments support
- Updated DocumentEditForm to include attachments in the document data. - Modified getDocumentWithDetailsById to fetch attachments. - Updated ZDocumentSchema to validate attachments. - Enhanced AddSettingsFormPartial to handle attachments with default values and updated field names.
This commit is contained in:
@ -185,6 +185,7 @@ export const DocumentEditForm = ({
|
||||
visibility: data.visibility,
|
||||
globalAccessAuth: data.globalAccessAuth ?? null,
|
||||
globalActionAuth: data.globalActionAuth ?? null,
|
||||
attachments: data.attachments ?? [],
|
||||
},
|
||||
meta: {
|
||||
timezone,
|
||||
|
||||
Reference in New Issue
Block a user