Skip to content

Commit d696d4b

Browse files
committed
fixes overridden custom autolinks in search result
1 parent 07cce47 commit d696d4b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/views/nodes/autolinkedItemsNode.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class AutolinkedItemsNode extends ViewNode<ViewsWithCommits> {
5050
if (remote != null) {
5151
const providerAutolinks = this.view.container.autolinks.getAutolinks(combineMessages, remote);
5252

53-
items = new Map(union(customAutolinks, providerAutolinks));
53+
items = providerAutolinks;
5454

5555
const [autolinkedMapResult /*, ...prsResults*/] = await Promise.allSettled([
5656
this.view.container.autolinks.getLinkedIssuesAndPullRequests(combineMessages, remote, {
@@ -65,6 +65,8 @@ export class AutolinkedItemsNode extends ViewNode<ViewsWithCommits> {
6565
items.set(id, issue);
6666
}
6767
}
68+
69+
items = new Map(union(items, customAutolinks));
6870
} else {
6971
items = customAutolinks;
7072
}

0 commit comments

Comments
 (0)