fix: issue store sub issue retrieve project id (#4588)
This commit is contained in:
parent
99e3097122
commit
f76ca5643e
1 changed files with 2 additions and 2 deletions
|
|
@ -111,8 +111,8 @@ export class IssueStore implements IIssueStore {
|
|||
|
||||
// store handlers from issue detail
|
||||
// parent
|
||||
if (issue && issue?.parent && issue?.parent?.id) {
|
||||
const parentIssue = await this.issueService.retrieve(workspaceSlug, projectId, issue?.parent?.id);
|
||||
if (issue && issue?.parent && issue?.parent?.id && issue?.parent?.project_id) {
|
||||
const parentIssue = await this.issueService.retrieve(workspaceSlug, issue.parent.project_id, issue?.parent?.id);
|
||||
this.rootIssueDetailStore.rootIssueStore.issues.addIssue([parentIssue]);
|
||||
}
|
||||
// assignees
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue