mirror of
https://github.com/documenso/documenso.git
synced 2025-11-19 03:01:59 +10:00
🚸 ✨ Associate recipients to fields, improved flow
This commit is contained in:
@ -23,7 +23,7 @@ export const uploadDocument = async (event: any) => {
|
||||
.then((response: Response) => {
|
||||
response.json().then((createdDocumentIdFromBody) => {
|
||||
router.push(
|
||||
`${NEXT_PUBLIC_WEBAPP_URL}/documents/${createdDocumentIdFromBody}`
|
||||
`${NEXT_PUBLIC_WEBAPP_URL}/documents/${createdDocumentIdFromBody}/recipients`
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@ -19,7 +19,7 @@ export const getDocument = async (
|
||||
},
|
||||
include: {
|
||||
Recipient: true,
|
||||
Field: true,
|
||||
Field: { include: { Recipient: true } },
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user