File tree 1 file changed +2
-2
lines changed
src/webviews/apps/commitDetails/components
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,24 +223,24 @@ export class GlCommitDetails extends GlDetailsBase {
223
223
224
224
if ( this . state ?. autolinkedIssues != null ) {
225
225
for ( const issue of this . state . autolinkedIssues ) {
226
- deduped . set ( issue . id , { type : 'issue' , value : issue } ) ;
227
226
if ( issue . url != null ) {
228
227
const autoLinkId = autolinkIdsByUrl . get ( issue . url ) ;
229
228
if ( autoLinkId != null ) {
230
229
deduped . delete ( autoLinkId ) ;
231
230
}
232
231
}
232
+ deduped . set ( issue . id , { type : 'issue' , value : issue } ) ;
233
233
}
234
234
}
235
235
236
236
if ( this . state ?. pullRequest != null ) {
237
- deduped . set ( this . state . pullRequest . id , { type : 'pr' , value : this . state . pullRequest } ) ;
238
237
if ( this . state . pullRequest . url != null ) {
239
238
const autoLinkId = autolinkIdsByUrl . get ( this . state . pullRequest . url ) ;
240
239
if ( autoLinkId != null ) {
241
240
deduped . delete ( autoLinkId ) ;
242
241
}
243
242
}
243
+ deduped . set ( this . state . pullRequest . id , { type : 'pr' , value : this . state . pullRequest } ) ;
244
244
}
245
245
246
246
const autolinks : Serialized < Autolink > [ ] = [ ] ;
You can’t perform that action at this time.
0 commit comments