mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-20 22:52:39 +02:00
Merge pull request #1492 from OpenSignLabs/fix_uncaught
This commit is contained in:
@@ -531,9 +531,9 @@ function PdfRequestFiles(props) {
|
||||
const obj = documentData?.[0];
|
||||
setSendInOrder(obj?.SendinOrder || false);
|
||||
if (
|
||||
obj &&
|
||||
obj?.Signers?.length > 0 &&
|
||||
obj?.Placeholders?.length > 0
|
||||
obj?.Signers?.length &&
|
||||
obj?.Placeholders?.length &&
|
||||
currUserId !== "undefined"
|
||||
) {
|
||||
const params = {
|
||||
event: "viewed",
|
||||
|
||||
@@ -1599,7 +1599,11 @@ function PlaceHolderSign() {
|
||||
}
|
||||
};
|
||||
const handleRecipientSign = () => {
|
||||
navigate(`/recipientSignPdf/${documentId}/${currentId}`);
|
||||
if (currentId) {
|
||||
navigate(`/recipientSignPdf/${documentId}/${currentId}`);
|
||||
} else {
|
||||
navigate(`/recipientSignPdf/${documentId}`);
|
||||
}
|
||||
};
|
||||
const handleLinkUser = (id) => {
|
||||
setIsAddUser({ [id]: true });
|
||||
|
||||
Reference in New Issue
Block a user