From 2f8c8ac40f457f897bc9b9672d4c955a1ae0f4e9 Mon Sep 17 00:00:00 2001 From: guru_sainath Date: Thu, 4 Jul 2024 12:08:26 +0530 Subject: [PATCH] [WEB-1847] chore: handled project id on the issue creation modal toast when the issue creation is happening on the home page (#5033) * chore: handled project id on the issue creation modal toast when the issue creation is happening on the home page * chore: updated issue modal condition --- web/core/components/issues/issue-modal/modal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/core/components/issues/issue-modal/modal.tsx b/web/core/components/issues/issue-modal/modal.tsx index 2ff03df666..87b007f15a 100644 --- a/web/core/components/issues/issue-modal/modal.tsx +++ b/web/core/components/issues/issue-modal/modal.tsx @@ -190,10 +190,10 @@ export const CreateUpdateIssueModal: React.FC = observer((prop type: TOAST_TYPE.SUCCESS, title: "Success!", message: `${is_draft_issue ? "Draft issue" : "Issue"} created successfully.`, - actionItems: !is_draft_issue && ( + actionItems: !is_draft_issue && response?.project_id && ( ),