From 002b2505f33c3f4a1351464789b3b3ac4f412242 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Tue, 27 Feb 2024 20:35:32 +0530 Subject: [PATCH] [WEB-583] fix: issue modal description on workspace level (#3814) * fix: issue modal description on workspace level * fix: issue modal description on workspace level --- web/components/issues/issue-modal/modal.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/issues/issue-modal/modal.tsx b/web/components/issues/issue-modal/modal.tsx index cefd1f283..4c2833efa 100644 --- a/web/components/issues/issue-modal/modal.tsx +++ b/web/components/issues/issue-modal/modal.tsx @@ -98,8 +98,8 @@ export const CreateUpdateIssueModal: React.FC = observer((prop const { store: currentIssueStore, viewId } = issueStores[storeType]; const fetchIssueDetail = async (issueId: string | undefined) => { - if (!workspaceSlug || !projectId) return; - if (issueId === undefined) { + if (!workspaceSlug) return; + if (!projectId || issueId === undefined) { setDescription("

"); return; }