mirror of
https://github.com/makeplane/plane.git
synced 2026-04-29 12:39:35 -05:00
fix: activity not coming for blocking/blocked, 'related to' and duplicate (#2189)
* fix: activity not coming for duplicate, relatesd to and for blocked/blocking refactor: mutation logic to use relation id instead of issue id * fix: mutation logic and changed keys to be aligned with api * fix: build error
This commit is contained in:
Vendored
+5
-15
@@ -76,8 +76,10 @@ export type IssueRelationType = "duplicate" | "relates_to" | "blocked_by";
|
||||
export interface IssueRelation {
|
||||
id: string;
|
||||
issue: string;
|
||||
related_issue: string;
|
||||
issue_detail: BlockeIssueDetail;
|
||||
relation_type: IssueRelationType;
|
||||
related_issue: string;
|
||||
relation: "blocking" | null;
|
||||
}
|
||||
|
||||
export interface IIssue {
|
||||
@@ -87,20 +89,8 @@ export interface IIssue {
|
||||
assignees_list: string[];
|
||||
attachment_count: number;
|
||||
attachments: any[];
|
||||
issue_relations: {
|
||||
id: string;
|
||||
issue: string;
|
||||
issue_detail: BlockeIssueDetail;
|
||||
relation_type: IssueRelationType;
|
||||
related_issue: string;
|
||||
}[];
|
||||
related_issues: {
|
||||
id: string;
|
||||
issue: string;
|
||||
related_issue_detail: BlockeIssueDetail;
|
||||
relation_type: IssueRelationType;
|
||||
related_issue: string;
|
||||
}[];
|
||||
issue_relations: IssueRelation[];
|
||||
related_issues: IssueRelation[];
|
||||
bridge_id?: string | null;
|
||||
completed_at: Date;
|
||||
created_at: string;
|
||||
|
||||
Reference in New Issue
Block a user