From fd556965b0024581c7c2a3fed3b42458d56b40a1 Mon Sep 17 00:00:00 2001 From: RaktimaNXG Date: Mon, 30 Oct 2023 20:01:21 +0530 Subject: [PATCH] solved contactbook multiple signers issue --- .../src/Component/component/modalComponent.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) 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 + )}
);