Skip to content

Commit 77b8524

Browse files
WhitShakemaririos
andauthored
Link to review page in Git issue (#7779)
* Link to review page in Git issue * Removed comment line 217 * Update src/dotnet/APIView/APIViewWeb/Client/src/shared/comments.ts Co-authored-by: Mariana Rios Flores <mariari@microsoft.com> --------- Co-authored-by: Mariana Rios Flores <mariari@microsoft.com>
1 parent 7ea5f09 commit 77b8524

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

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

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,7 @@ $(() => {
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);
217-
// TODO uncomment below once the feature to support public ApiView Reviews is enabled.
218-
//+ "\n#\n")
219-
//+ "[Created from ApiView comment](" + apiViewUrl + ")";
216+
let issueBody = escape("```" + language + "\n" + codeLine.text().trim() + "\n```\n#\n" + comment + "\n#\n" + "[Created from ApiView comment](" + apiViewUrl + ")");
220217

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

0 commit comments

Comments
 (0)