@@ -429,7 +429,7 @@ function PdfRequestFiles(props) {
429
429
430
430
currUserId = getCurrentSigner ?. objectId
431
431
? getCurrentSigner . objectId
432
- : contactBookId || "" ;
432
+ : signerObjectId || "" ;
433
433
if ( isEnableSubscription ) {
434
434
await checkIsSubscribed (
435
435
documentData [ 0 ] ?. ExtUserPtr ?. objectId ,
@@ -1013,7 +1013,7 @@ function PdfRequestFiles(props) {
1013
1013
receiver_phone : user . Phone ,
1014
1014
expiry_date : localExpireDate ,
1015
1015
company_name : orgName ,
1016
- signing_url : `<a href=${ signPdf } >Sign here</a>`
1016
+ signing_url : `<a href=${ signPdf } target=_blank >Sign here</a>`
1017
1017
} ;
1018
1018
replaceVar = replaceMailVaribles (
1019
1019
requestSubject ,
@@ -1047,7 +1047,7 @@ function PdfRequestFiles(props) {
1047
1047
orgName +
1048
1048
"</td></tr> <tr> <td style='font-weight:bold;font-family:sans-serif;font-size:15px'>Expires on</td><td> </td> <td style='color:#626363;font-weight:bold'>" +
1049
1049
localExpireDate +
1050
- "</td></tr><tr> <td></td> <td> </td></tr></table> </div> <div style='margin-left:70px'><a href=" +
1050
+ "</td></tr><tr> <td></td> <td> </td></tr></table> </div> <div style='margin-left:70px'><a target=_blank href=" +
1051
1051
signPdf +
1052
1052
"> <button style='padding: 12px 12px 12px 12px;background-color: #d46b0f;color: white; border: 0px;box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;font-weight:bold;margin-top:30px'>Sign here</button></a> </div> <div style='display: flex; justify-content: center;margin-top: 10px;'> </div></div></div><div><p> This is an automated email from OpenSign™. For any queries regarding this email, please contact the sender " +
1053
1053
senderEmail +
@@ -1517,10 +1517,11 @@ function PdfRequestFiles(props) {
1517
1517
} else {
1518
1518
setIsPublicContact ( false ) ;
1519
1519
setIsPublicTemplate ( false ) ;
1520
- setIsLoading ( { isLoad : false } ) ;
1520
+ setLoading ( false ) ;
1521
1521
setDocumentId ( userRes . data ?. result ?. docId ) ;
1522
1522
getDocumentDetails ( userRes ?. data ?. result ?. docId ) ;
1523
- contactBookId = userRes ?. data ?. result ?. contactId || "" ;
1523
+ const contactId = userRes . data . result ?. contactId ;
1524
+ setSignerObjectId ( contactId ) ;
1524
1525
}
1525
1526
} else {
1526
1527
console . log ( "error in public-sign to create user details" ) ;
0 commit comments