Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

[WEB-583] fix: issue modal description on workspace level (#3814)

Aaryan Khandelwal002b2505f33c
diff --git a/web/components/issues/issue-modal/modal.tsx b/web/components/issues/issue-modal/modal.tsx
index cefd1f283f..4c2833efa2 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<IssuesModalProps> = 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("<p></p>");
return;
}