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.
1 parent 7bd8d64 commit 390ffb8Copy full SHA for 390ffb8
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