File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ 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 ( ) ;
23
22
useEffect ( ( ) => {
24
23
handleServerUrl ( ) ;
25
24
@@ -55,7 +54,6 @@ function GuestLogin() {
55
54
setDocumentId ( checkSplit [ 0 ] ) ;
56
55
setEmail ( checkSplit [ 1 ] ) ;
57
56
setContactId ( checkSplit [ 2 ] ) ;
58
- setSendMail ( checkSplit [ 3 ] ) ;
59
57
}
60
58
61
59
setIsLoading ( false ) ;
@@ -148,13 +146,7 @@ function GuestLogin() {
148
146
//save isGuestSigner true in local to handle login flow header in mobile view
149
147
localStorage . setItem ( "isGuestSigner" , true ) ;
150
148
setLoading ( false ) ;
151
- if ( sendMail === "false" ) {
152
- navigate (
153
- `/load/recipientSignPdf/${ documentId } /${ contactId } ?sendmail=${ sendMail } `
154
- ) ;
155
- } else {
156
- navigate ( `/load/recipientSignPdf/${ documentId } /${ contactId } ` ) ;
157
- }
149
+ navigate ( `/load/recipientSignPdf/${ documentId } /${ contactId } ` ) ;
158
150
}
159
151
} catch ( error ) {
160
152
console . log ( "err " , error ) ;
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 } /false `
1003
+ `${ pdfDetails ?. [ 0 ] . objectId } /${ signerMail [ i ] . Email } /${ objectId } `
1004
1004
) ;
1005
1005
let signPdf = `${ hostUrl } /login/${ encodeBase64 } ` ;
1006
1006
shareLinkList . push ( { signerEmail : signerMail [ i ] . Email , url : signPdf } ) ;
You can’t perform that action at this time.
0 commit comments