Skip to content

Commit caf8e08

Browse files
author
Whitney Shake
committed
Link to review page in Git issue
1 parent 50444be commit caf8e08

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/dotnet/APIView/APIViewWeb/Client/src/shared

src/dotnet/APIView/APIViewWeb/Client/src/shared/comments.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ $(() => {
213213
apiViewUrl = window.location.href.split("#")[0] + "%23" + escape(escape(hp.getElementId(commentElement[0])!));
214214
}
215215

216-
let issueBody = escape("```" + language + "\n" + codeLine.text().trim() + "\n```\n#\n" + comment);
216+
let issueBody = escape("```" + language + "\n" + codeLine.text().trim() + "\n```\n#\n" + comment + "\n#\n" + "[Created from ApiView comment](" + apiViewUrl + ")");
217217
// TODO uncomment below once the feature to support public ApiView Reviews is enabled.
218-
//+ "\n#\n")
219-
//+ "[Created from ApiView comment](" + apiViewUrl + ")";
218+
219+
220220

221221
window.open(
222222
"https://github.com/Azure/" + repo + "/issues/new?" +

0 commit comments

Comments
 (0)