🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
fix: incorrect condition implementation for setting template as public based on isEnableSubscription
RaktimaNXGeb3bb77692ce
diff --git a/apps/OpenSign/src/pages/UserProfile.js b/apps/OpenSign/src/pages/UserProfile.jsindex fe27836eb..cbc0d2429 100644--- a/apps/OpenSign/src/pages/UserProfile.js+++ b/apps/OpenSign/src/pages/UserProfile.js@@ -449,7 +449,7 @@ function UserProfile() {)}</span></li>- {!isEnableSubscription && (+ {isEnableSubscription && (<li className="flex justify-between items-center border-t-[1px] border-gray-300 py-2 break-all"><span className="font-semibold">Public profile :{" "}diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.jsindex a20f72c55..0a04073bf 100644--- a/apps/OpenSign/src/primitives/GetReportDisplay.js+++ b/apps/OpenSign/src/primitives/GetReportDisplay.js@@ -891,7 +891,7 @@ const ReportTable = (props) => {{props.actions?.length > 0 && (<th className="px-4 py-2 font-thin">Action</th>)}- {props.ReportName === "Templates" && !isEnableSubscription && (+ {props.ReportName === "Templates" && isEnableSubscription && (<th className="px-4 py-2 font-thin">Public</th>)}</tr>@@ -1333,7 +1333,7 @@ const ReportTable = (props) => {</ModalUi>)}</td>- {!isEnableSubscription && (+ {isEnableSubscription && (<td className=" pl-[20px] py-2 ">{props.ReportName === "Templates" && (<div className=" flex flex-row-">