diff --git a/microfrontends/SignDocuments/src/Component/DraftDocument.js b/microfrontends/SignDocuments/src/Component/DraftDocument.js index 1d9e57b0b..8384871f4 100644 --- a/microfrontends/SignDocuments/src/Component/DraftDocument.js +++ b/microfrontends/SignDocuments/src/Component/DraftDocument.js @@ -70,8 +70,9 @@ function DraftDocument() { 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}`); }