Skip to content

Commit 9345756

Browse files
committed
don't show first issue for account scope
1 parent b685520 commit 9345756

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/content.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function appendPRText(currentNum, repoInfo) {
120120

121121
if (prs !== undefined) {
122122
let prText = `${prs}`;
123-
if (firstPrNumber === +currentNum) {
123+
if (firstPrNumber === +currentNum && statsScope !== "account") {
124124
prText = "First PR";
125125
if (prs > 1) {
126126
prText += ` out of ${prs}`;
@@ -131,7 +131,7 @@ function appendPRText(currentNum, repoInfo) {
131131

132132
if (issues !== undefined) {
133133
let issueText = `${issues}`;
134-
if (firstIssueNumber === +currentNum) {
134+
if (firstIssueNumber === +currentNum && statsScope !== "account") {
135135
issueText = "First Issue";
136136
if (issues > 1) {
137137
issueText += ` out of ${issues}`;

0 commit comments

Comments
 (0)