mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 16:23:06 +10:00
🐛 order recipient by id to avoid order change in ui on reload
This commit is contained in:
@ -18,7 +18,11 @@ export const getDocument = async (
|
|||||||
userId: user.id,
|
userId: user.id,
|
||||||
},
|
},
|
||||||
include: {
|
include: {
|
||||||
Recipient: true,
|
Recipient: {
|
||||||
|
orderBy: {
|
||||||
|
id: "asc",
|
||||||
|
},
|
||||||
|
},
|
||||||
Field: { include: { Recipient: true, Signature: true } },
|
Field: { include: { Recipient: true, Signature: true } },
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user