🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
fix: add comment
RaktimaNXGb6e028a2c005
diff --git a/apps/OpenSign/src/components/shared/fields/SelectSigners.js b/apps/OpenSign/src/components/shared/fields/SelectSigners.jsindex 24c24ec85..f6ec88c82 100644--- a/apps/OpenSign/src/components/shared/fields/SelectSigners.js+++ b/apps/OpenSign/src/components/shared/fields/SelectSigners.js@@ -53,6 +53,8 @@ const SelectSigners = (props) => {const contactRes = await contactbook.find();if (contactRes) {const res = JSON.parse(JSON.stringify(contactRes));+ //compareArrays is a function where compare between two array (total signersList and dcument signers list)+ //and filter signers from total signer's list which already present in document's signers listconst compareArrays = (res, signerObj) => {return res.filter((item1) =>@@ -60,6 +62,7 @@ const SelectSigners = (props) => {);};+ //get update signer's List if signersdata is presentconst updateSignersList =props?.signersData && compareArrays(res, props?.signersData);