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 @@ -132,7 +132,7 @@ function IssueSimple(props) {
132
132
< a
133
133
className = 'issue-title'
134
134
target = '_blank'
135
- href = { issue . htmlUrl } >
135
+ href = { card . isPullRequest ( ) ? issue . htmlUrl + '/files' : issue . htmlUrl } >
136
136
< GithubFlavoredMarkdown
137
137
className = '-issue-title-text'
138
138
inline
@@ -144,7 +144,7 @@ function IssueSimple(props) {
144
144
< a
145
145
className = 'issue-number'
146
146
target = '_blank'
147
- href = { issue . htmlUrl } >
147
+ href = { card . isPullRequest ( ) ? issue . htmlUrl + '/files' : issue . htmlUrl } >
148
148
#{ issue . number }
149
149
</ a >
150
150
</ BS . ListGroupItem >
@@ -450,7 +450,7 @@ function IssueCard(props) {
450
450
key = 'link'
451
451
className = 'issue-title'
452
452
target = '_blank'
453
- href = { issue . htmlUrl } >
453
+ href = { card . isPullRequest ( ) ? issue . htmlUrl + '/files' : issue . htmlUrl } >
454
454
< GithubFlavoredMarkdown
455
455
inline
456
456
repoOwner = { repoOwner }
You can’t perform that action at this time.
0 commit comments