Skip to content

Commit

Permalink
🐛 fix #11087
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Apr 19, 2024
1 parent 41f3e06 commit 0b2bde1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/src/layout/dock/Graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,7 @@ export class Graph extends Model {
if (id) {
this.blockId = id;
}
if (!isCurrentEditor(this.blockId) &&
this.graphElement.firstElementChild.classList.contains("fn__none") // 引用右键打开关系图
) {
if (this.blockId && !isCurrentEditor(this.blockId) && this.type === "pin") {
return;
}
this.graphData = response.data;
Expand Down

0 comments on commit 0b2bde1

Please sign in to comment.