forked from github/plane
fix: issue store sub issue retrieve project id (#4588)
This commit is contained in:
parent
99e3097122
commit
f76ca5643e
@ -111,8 +111,8 @@ export class IssueStore implements IIssueStore {
|
|||||||
|
|
||||||
// store handlers from issue detail
|
// store handlers from issue detail
|
||||||
// parent
|
// parent
|
||||||
if (issue && issue?.parent && issue?.parent?.id) {
|
if (issue && issue?.parent && issue?.parent?.id && issue?.parent?.project_id) {
|
||||||
const parentIssue = await this.issueService.retrieve(workspaceSlug, projectId, issue?.parent?.id);
|
const parentIssue = await this.issueService.retrieve(workspaceSlug, issue.parent.project_id, issue?.parent?.id);
|
||||||
this.rootIssueDetailStore.rootIssueStore.issues.addIssue([parentIssue]);
|
this.rootIssueDetailStore.rootIssueStore.issues.addIssue([parentIssue]);
|
||||||
}
|
}
|
||||||
// assignees
|
// assignees
|
||||||
|
Loading…
Reference in New Issue
Block a user