From 1b06b210878e3b800683601a166264a5be2acca1 Mon Sep 17 00:00:00 2001 From: anmolsinghbhatia Date: Fri, 28 Apr 2023 13:27:34 +0530 Subject: [PATCH] feat: create and delete issue alerts --- apps/app/components/issues/delete-issue-modal.tsx | 4 ++-- apps/app/components/issues/modal.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/app/components/issues/delete-issue-modal.tsx b/apps/app/components/issues/delete-issue-modal.tsx index 903022584..3a1a998d0 100644 --- a/apps/app/components/issues/delete-issue-modal.tsx +++ b/apps/app/components/issues/delete-issue-modal.tsx @@ -65,9 +65,9 @@ export const DeleteIssueModal: React.FC = ({ isOpen, handleClose, data }) handleClose(); setToastAlert({ - title: "Success", + title: "Issue Deleted Successfully", type: "success", - message: "Issue deleted successfully", + message: `${data.project_detail.identifier}-${data.sequence_id} is deleted successfully from the project ${data.project_detail.name}`, }); }) .catch((error) => { diff --git a/apps/app/components/issues/modal.tsx b/apps/app/components/issues/modal.tsx index b2eb45e28..883356d56 100644 --- a/apps/app/components/issues/modal.tsx +++ b/apps/app/components/issues/modal.tsx @@ -138,8 +138,8 @@ export const CreateUpdateIssueModal: React.FC = ({ setToastAlert({ type: "success", - title: "Success!", - message: "Issue created successfully.", + title: "Issue Created Successfully", + message: `${res.project_detail.identifier}-${res.sequence_id} is created successfully under the project ${res.project_detail.name}`, }); if (payload.assignees_list?.some((assignee) => assignee === user?.id)) mutate(USER_ISSUE);