We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e13354 commit 790bdbcCopy full SHA for 790bdbc
content.js
@@ -78,8 +78,13 @@
78
return false;
79
}
80
81
- // Find the Copilot reviewer link
82
- const copilotLink = document.querySelector('a[href="/apps/copilot-pull-request-reviewer"]');
+ // Find the Copilot reviewer link in the sidebar only (not in timeline)
+ const sidebar = document.querySelector('.Layout-sidebar');
83
+ if (!sidebar) {
84
+ return false;
85
+ }
86
+
87
+ const copilotLink = sidebar.querySelector('a[href="/apps/copilot-pull-request-reviewer"]');
88
if (!copilotLink) {
89
90
0 commit comments