Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 5f1bfa9

Browse files
aaryan610nishantPFM
authored andcommitted
fix: creating a new sub-issue from workspace level (makeplane#6169)
1 parent 2695059 commit 5f1bfa9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/core/components/issues/issue-detail-widgets/issue-detail-widget-modals.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ export const IssueDetailWidgetModals: FC<Props> = observer((props) => {
121121
};
122122

123123
// helpers
124-
const createUpdateModalData = { parent_id: issueCrudOperationState?.create?.parentIssueId };
124+
const createUpdateModalData: Partial<TIssue> = {
125+
parent_id: issueCrudOperationState?.create?.parentIssueId,
126+
project_id: projectId,
127+
};
125128

126129
const existingIssuesModalSearchParams = {
127130
sub_issue: true,

0 commit comments

Comments
 (0)