We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d63e51b + 390ffb8 commit 7aaa187Copy full SHA for 7aaa187
microfrontends/SignDocuments/src/Component/placeHolderSign.js
@@ -900,7 +900,13 @@ function PlaceHolderSign() {
900
});
901
// console.log("updateSigner ", updateSigner);
902
if (updateSigner && updateSigner.length > 0) {
903
- setCurrentId(updateSigner[0].Email);
+ const currEmail = pdfDetails[0].ExtUserPtr.Email;
904
+ const getCurrentUserDeatils = updateSigner.filter(
905
+ (x) => x.Email === currEmail
906
+ );
907
+ if (getCurrentUserDeatils && getCurrentUserDeatils.length > 0) {
908
+ setCurrentId(getCurrentUserDeatils[0].Email);
909
+ }
910
}
911
912
setSignersData(updateSigner);
0 commit comments