Skip to content

Commit 308f93b

Browse files
authored
Merge pull request #304 from pandeyji711/Update_web
Removed dublicate fetching in api
2 parents 69d5b90 + 8bc13a9 commit 308f93b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Update_website/contributor.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ function renderContributors(contributors) {
116116
avatarImg.src = contributor.avatar_url;
117117
avatarImg.alt = `${contributor.login}'s Picture`;
118118
let name = contributor.name || contributor.login;
119+
const fname = name;
119120
if (name.length > 12) {
120121
name = name.slice(0, 10) + "...";
121122
}
@@ -148,7 +149,8 @@ function renderContributors(contributors) {
148149
</div>
149150
</div>`;
150151

151-
if (cheak > 0 && name != "azfar-2") cont.appendChild(contributorCard);
152+
if (cheak > 0 && fname != "azfar-2" && fname != "Ayushmaanagarwal1211")
153+
cont.appendChild(contributorCard);
152154
cheak++;
153155
});
154156
}

0 commit comments

Comments
 (0)