File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ function GuestLogin() {
19
19
const [ appLogo , setAppLogo ] = useState ( "" ) ;
20
20
const [ documentId , setDocumentId ] = useState ( id ) ;
21
21
const [ contactId , setContactId ] = useState ( contactBookId ) ;
22
+ const [ sendMail , setSendMail ] = useState ( ) ;
22
23
useEffect ( ( ) => {
23
24
handleServerUrl ( ) ;
24
25
@@ -54,6 +55,7 @@ function GuestLogin() {
54
55
setDocumentId ( checkSplit [ 0 ] ) ;
55
56
setEmail ( checkSplit [ 1 ] ) ;
56
57
setContactId ( checkSplit [ 2 ] ) ;
58
+ setSendMail ( checkSplit [ 3 ] ) ;
57
59
}
58
60
59
61
setIsLoading ( false ) ;
@@ -146,7 +148,13 @@ function GuestLogin() {
146
148
//save isGuestSigner true in local to handle login flow header in mobile view
147
149
localStorage . setItem ( "isGuestSigner" , true ) ;
148
150
setLoading ( false ) ;
149
- navigate ( `/load/recipientSignPdf/${ documentId } /${ contactId } ` ) ;
151
+ if ( sendMail === "false" ) {
152
+ navigate (
153
+ `/load/recipientSignPdf/${ documentId } /${ contactId } ?sendmail=${ sendMail } `
154
+ ) ;
155
+ } else {
156
+ navigate ( `/load/recipientSignPdf/${ documentId } /${ contactId } ` ) ;
157
+ }
150
158
}
151
159
} catch ( error ) {
152
160
console . log ( "err " , error ) ;
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ function PdfRequestFiles() {
431
431
setIsCelebration ( true ) ;
432
432
setTimeout ( ( ) => {
433
433
setIsCelebration ( false ) ;
434
- } , 2500 ) ;
434
+ } , 5000 ) ;
435
435
}
436
436
}
437
437
Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ function PlaceHolderSign() {
1000
1000
const hostUrl = window . location . origin ;
1001
1001
//encode this url value `${pdfDetails?.[0].objectId}/${signerMail[i].Email}/${objectId}` to base64 using `btoa` function
1002
1002
const encodeBase64 = btoa (
1003
- `${ pdfDetails ?. [ 0 ] . objectId } /${ signerMail [ i ] . Email } /${ objectId } `
1003
+ `${ pdfDetails ?. [ 0 ] . objectId } /${ signerMail [ i ] . Email } /${ objectId } /false `
1004
1004
) ;
1005
1005
let signPdf = `${ hostUrl } /login/${ encodeBase64 } ` ;
1006
1006
shareLinkList . push ( { signerEmail : signerMail [ i ] . Email , url : signPdf } ) ;
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ function SignYourSelf() {
235
235
setSignBtnPosition ( [ ] ) ;
236
236
setTimeout ( ( ) => {
237
237
setIsCelebration ( false ) ;
238
- } , 2500 ) ;
238
+ } , 5000 ) ;
239
239
}
240
240
}
241
241
} else if (
You can’t perform that action at this time.
0 commit comments