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-999] fix: inbox sentry error and accept modal fix (#4226)

Anmol Singh Bhatia0c0bdd69699d
diff --git a/web/components/inbox/modals/create-edit-modal/edit-root.tsx b/web/components/inbox/modals/create-edit-modal/edit-root.tsx
index f0e66c5035..7747245060 100644
--- a/web/components/inbox/modals/create-edit-modal/edit-root.tsx
+++ b/web/components/inbox/modals/create-edit-modal/edit-root.tsx
@@ -77,7 +77,7 @@ export const InboxIssueEditRoot: FC<TInboxIssueEditRoot> = observer((props) => {
cycle_id: formData?.cycle_id || "",
module_ids: formData?.module_ids || [],
estimate_point: formData?.estimate_point || undefined,
- parent_id: formData?.parent_id || "",
+ parent_id: formData?.parent_id || null,
};
setFormSubmitting(true);
diff --git a/web/components/inbox/modals/create-edit-modal/issue-properties.tsx b/web/components/inbox/modals/create-edit-modal/issue-properties.tsx
index 8e2eda1cc2..e55834f6e0 100644
--- a/web/components/inbox/modals/create-edit-modal/issue-properties.tsx
+++ b/web/components/inbox/modals/create-edit-modal/issue-properties.tsx
@@ -177,7 +177,7 @@ export const InboxIssueProperties: FC<TInboxIssueProperties> = observer((props)
setSelectedParentIssue(issue);
}}
projectId={projectId}
- issueId={data?.id}
+ issueId={undefined}
/>
</>
)}