File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
microfrontends/SignDocuments/src/Component Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -722,7 +722,7 @@ function PlaceHolderSign() {
722
722
} ) ;
723
723
const currentUser = signersdata . find ( ( x ) => x . Email === currentId ) ;
724
724
setCurrentId ( currentUser ?. objectId ) ;
725
- // console.log("signers ", signers);
725
+
726
726
try {
727
727
const data = {
728
728
Placeholders : signerPos ,
@@ -898,7 +898,11 @@ function PlaceHolderSign() {
898
898
}
899
899
return { ...x } ;
900
900
} ) ;
901
- // console.log("updateSigner ", updateSigner);
901
+ // console.log("updateSigner ", updateSigner);
902
+ if ( updateSigner && updateSigner . length > 0 ) {
903
+ setCurrentId ( updateSigner [ 0 ] . Email ) ;
904
+ }
905
+
902
906
setSignersData ( updateSigner ) ;
903
907
const index = signersdata . findIndex ( ( x ) => x . Id === uniqueId ) ;
904
908
setIsSelectId ( index ) ;
You can’t perform that action at this time.
0 commit comments