From 0c0bdd69699d75beaab9731f38b62dc9063d5b12 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:31:47 +0530 Subject: [PATCH] [WEB-999] fix: inbox sentry error and accept modal fix (#4226) * fix: inbox issue parent id sentry error * fix: inbox issue accept parent id fix --- web/components/inbox/modals/create-edit-modal/edit-root.tsx | 2 +- .../inbox/modals/create-edit-modal/issue-properties.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 f0e66c503..774724506 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 = 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 8e2eda1cc..e55834f6e 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 = observer((props) setSelectedParentIssue(issue); }} projectId={projectId} - issueId={data?.id} + issueId={undefined} /> )}