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 ( - {type === "pdfFail" ? ( - Failed to load pdf! - ) : type === "signersAlert" ? ( + {type === "signersAlert" ? ( Select signers ) : ( Document Expired! @@ -16,27 +14,26 @@ function ModalComponent({ isShow, type,setIsShowEmail }) { - {type === "pdfFail" ? ( -

Something went wrong failed to load pdf file!

- ) : type === "signersAlert" ? ( + {type === "signersAlert" ? (

Please select signer for add placeholder!

) : (

This Document is no longer available.

)}
+ {type === "signersAlert" &&( + Ok + )}
);