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; }