mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
Merge pull request #308 from OpenSignLabs/need-your-sign
This commit is contained in:
@@ -900,7 +900,13 @@ function PlaceHolderSign() {
|
||||
});
|
||||
// console.log("updateSigner ", updateSigner);
|
||||
if (updateSigner && updateSigner.length > 0) {
|
||||
setCurrentId(updateSigner[0].Email);
|
||||
const currEmail = pdfDetails[0].ExtUserPtr.Email;
|
||||
const getCurrentUserDeatils = updateSigner.filter(
|
||||
(x) => x.Email === currEmail
|
||||
);
|
||||
if (getCurrentUserDeatils && getCurrentUserDeatils.length > 0) {
|
||||
setCurrentId(getCurrentUserDeatils[0].Email);
|
||||
}
|
||||
}
|
||||
|
||||
setSignersData(updateSigner);
|
||||
|
||||
Reference in New Issue
Block a user