From 73fe1f32606aff072044ce0ffbf6fe0f236482f4 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Mon, 8 Apr 2024 09:23:54 +0000 Subject: [PATCH] revert links back --- dist/index.js | 2 +- src/mermaid-node.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6d96d2a..34cc27b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -354,7 +354,7 @@ class MermaidNode { return result; } static createFromGitHubIssue(issue) { - return new MermaidNode(`issue${issue.id}`, issue.title, MermaidNode.getNodeStatusFromGitHubIssue(issue)); + return new MermaidNode(`issue${issue.id}`, issue.title, MermaidNode.getNodeStatusFromGitHubIssue(issue), issue.html_url); } static getNodeStatusFromGitHubIssue(issue) { if (issue.state !== "open") { diff --git a/src/mermaid-node.ts b/src/mermaid-node.ts index ce754d7..0863e5e 100644 --- a/src/mermaid-node.ts +++ b/src/mermaid-node.ts @@ -25,7 +25,7 @@ export class MermaidNode { `issue${issue.id}`, issue.title, MermaidNode.getNodeStatusFromGitHubIssue(issue), - //issue.html_url + issue.html_url ); }