🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
fix: share templatId issue
RaktimaNXGa9f22d3a10f5
diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.jsindex 4f33ebed8..20cab3cec 100644--- a/apps/OpenSign/src/primitives/GetReportDisplay.js+++ b/apps/OpenSign/src/primitives/GetReportDisplay.js@@ -1053,14 +1053,18 @@ const ReportTable = (props) => {setTimeout(() => setIsAlert(false), 1500);}};- const handleEmbedFunction = (item) => {- setIsPublicProfile({- [item.objectId]: props.isPublic[item.objectId]+ const handleEmbedFunction = async (item) => {+ await window.navigator.share({+ text: item.objectId,+ title: "templateId share"});- let extendUser = JSON.parse(localStorage.getItem("Extand_Class"));- setIsPublicUserName(extendUser[0]?.UserName || "");+ // setIsPublicProfile({+ // [item.objectId]: props.isPublic[item.objectId]+ // });+ // let extendUser = JSON.parse(localStorage.getItem("Extand_Class"));+ // setIsPublicUserName(extendUser[0]?.UserName || "");};- console.log("ispublic", props.isPublic);+return (<div className="relative">{Object.keys(actLoader)?.length > 0 && (@@ -1397,7 +1401,8 @@ const ReportTable = (props) => {<div className="flex items-center gap-2"><RWebSharedata={{- text: item.objectId+ text: item.objectId,+ title: "templateId"}}><button className="op-btn op-btn-primary op-btn-outline op-btn-xs md:op-btn-sm ">