mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-20 06:35:54 +02:00
Merge pull request #952 from OpenSignLabs/raktima-opensignlabs-patch-11
fix: the quick-send flow in-progress report shows the finish button even though the current user isn't a signer
This commit is contained in:
@@ -122,7 +122,7 @@ function DriveBody(props) {
|
||||
navigate(`/placeHolderSign/${data.objectId}`);
|
||||
}
|
||||
//Inprogress document
|
||||
else if (isPlaceholder?.length > 0 && signerExist?.length > 0) {
|
||||
else if (isPlaceholder?.length > 0 && signedUrl) {
|
||||
navigate(`/recipientSignPdf/${data.objectId}`);
|
||||
} //placeholder draft document
|
||||
else if (
|
||||
|
||||
@@ -67,7 +67,7 @@ function DraftDocument() {
|
||||
navigate(`/placeHolderSign/${data.objectId}`);
|
||||
}
|
||||
//Inprogress document
|
||||
else if (isPlaceholder?.length > 0 && signerExist?.length > 0) {
|
||||
else if (isPlaceholder?.length > 0 && signedUrl) {
|
||||
navigate(`/recipientSignPdf/${data.objectId}`);
|
||||
} //placeholder draft document
|
||||
else if (
|
||||
|
||||
@@ -419,11 +419,13 @@ function PdfRequestFiles(props) {
|
||||
"You have successfully signed the document. You can download or print a copy of the partially signed document. A copy of the digitally signed document will be sent to the owner over email once it is signed by all signers."
|
||||
});
|
||||
} else {
|
||||
const checkCurrentUser = documentData[0].Placeholders.find(
|
||||
(data) => data.signerObjId === currUserId
|
||||
);
|
||||
if (checkCurrentUser) {
|
||||
setCurrentSigner(true);
|
||||
if (currUserId) {
|
||||
const checkCurrentUser = documentData[0].Placeholders.find(
|
||||
(data) => data?.signerObjId === currUserId
|
||||
);
|
||||
if (checkCurrentUser) {
|
||||
setCurrentSigner(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
const audittrailData =
|
||||
|
||||
Reference in New Issue
Block a user