Skip to content

πŸ”₯ The free & Open Source DocuSign alternative

solved contactbook multiple signers issue

RaktimaNXGfd556965b002
diff --git a/microfrontends/SignDocuments/src/Component/component/modalComponent.js b/microfrontends/SignDocuments/src/Component/component/modalComponent.js
index f7a293712..589c5a2ba 100644
--- a/microfrontends/SignDocuments/src/Component/component/modalComponent.js
+++ b/microfrontends/SignDocuments/src/Component/component/modalComponent.js
@@ -2,13 +2,11 @@ import React from "react";
import Modal from "react-bootstrap/Modal";
import ModalHeader from "react-bootstrap/esm/ModalHeader";
-function ModalComponent({ isShow, type,setIsShowEmail }) {
+function ModalComponent({ isShow, type, setIsShowEmail }) {
return (
<Modal show={isShow}>
<ModalHeader className="bg-danger" style={{ color: "white" }}>
- {type === "pdfFail" ? (
- <span>Failed to load pdf!</span>
- ) : type === "signersAlert" ? (
+ {type === "signersAlert" ? (
<span>Select signers</span>
) : (
<span>Document Expired!</span>
@@ -16,27 +14,26 @@ function ModalComponent({ isShow, type,setIsShowEmail }) {
</ModalHeader>
<Modal.Body>
- {type === "pdfFail" ? (
- <p>Something went wrong failed to load pdf file!</p>
- ) : type === "signersAlert" ? (
+ {type === "signersAlert" ? (
<p>Please select signer for add placeholder!</p>
) : (
<p>This Document is no longer available.</p>
)}
</Modal.Body>
<Modal.Footer>
+ {type === "signersAlert" &&(
<button
onClick={() => {
- setIsShowEmail(false)
+ setIsShowEmail(false);
}}
style={{
- color: "black",
+ color: "black"
}}
type="button"
className="finishBtn"
>
- Ok
- </button>
+ Ok
+ </button>)}
</Modal.Footer>
</Modal>
);