mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
fix: draft document redirect issue
This commit is contained in:
+3
-2
@@ -134,8 +134,9 @@ function PdfFileComponent({
|
||||
navigate(`${hostUrl}pdfRequestFiles/${data.objectId}`);
|
||||
} //placeholder draft document
|
||||
else if (
|
||||
(signerExist?.length > 0 && !isPlaceholder) ||
|
||||
(!signerExist && isPlaceholder?.length > 0)
|
||||
(signerExist?.length > 0 &&
|
||||
(!isPlaceholder || isPlaceholder?.length === 0)) ||
|
||||
((!signerExist || signerExist?.length === 0) && isPlaceholder?.length > 0)
|
||||
) {
|
||||
navigate(`${hostUrl}placeHolderSign/${data.objectId}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user