From 8999d7bb479f0466d218603ad1075f6c50b09a66 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Sat, 24 May 2025 16:02:16 +0530 Subject: [PATCH] added new modal for edit contact tag and delete contact tag --- src/components/master/MasterModal.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/master/MasterModal.jsx b/src/components/master/MasterModal.jsx index d7e32142..fc8209fe 100644 --- a/src/components/master/MasterModal.jsx +++ b/src/components/master/MasterModal.jsx @@ -15,6 +15,7 @@ import CreateWorkCategory from "./CreateWorkCategory"; import EditWorkCategory from "./EditWorkCategory"; import CreateCategory from "./CreateContactCategory"; import CreateContactTag from "./CreateContactTag"; +import EditContactTag from "./EditContactTag"; const MasterModal = ({ modaldata, closeModal }) => { @@ -23,7 +24,6 @@ const MasterModal = ({ modaldata, closeModal }) => { const handleSelectedMasterDeleted = async () => { const deleteFn = MasterRespository[modaldata.masterType]; - if (!deleteFn) { showToast(`No delete strategy defined for master type`,"error"); return false; @@ -135,6 +135,9 @@ const MasterModal = ({ modaldata, closeModal }) => { {modaldata.modalType === "Contact Tag" && ( )} + {modaldata.modalType === "Edit-Contact Tag" && ( + + )}