File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -322,9 +322,9 @@ function closeGithubIssue(oldIssue) {
322322
323323function commentOnIssue ( repo , oldIssue , newIssue , closeOriginal ) {
324324 const urlObj = populateUrlMetadata ( )
325-
325+ const newIssueLink = '[' + repo + ']' + '(' + newIssue . html_url + ')'
326326 const comment = {
327- body : closeOriginal ? 'Kamino closed and cloned this issue to ' + repo : 'Kamino cloned this issue to ' + repo
327+ body : closeOriginal ? 'Kamino closed and cloned this issue to ' + newIssueLink : 'Kamino cloned this issue to ' + newIssueLink
328328 }
329329
330330 ajaxRequest ( 'POST' , comment , 'https://api.github.com/repos/' + urlObj . organization + '/' + urlObj . currentRepo + '/issues/' + urlObj . issueNumber + '/comments' ) . then ( ( response ) => {
@@ -471,4 +471,4 @@ function openModal() {
471471 $ ( '#kaminoModal' ) . addClass ( 'in' )
472472 $ ( '#kaminoModal' ) . css ( 'display' , 'block' )
473473 $ ( '#js-repo-pjax-container' ) . append ( backdrop ) ;
474- }
474+ }
You can’t perform that action at this time.
0 commit comments