Skip to content

Commit

Permalink
modify top language by commit cards
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelb committed Mar 2, 2021
1 parent a4ae14f commit 70b0f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cards/most-commit-lauguage-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ const createCommitsPerLanguageCard = async function (username) {
langData.sort(function (a, b) {
return b.value - a.value;
});
langData = langData.slice(0, 5); //get top 5
langData = langData.slice(0, 15); //get top 15

for (let themeName in Themes) {
let theme = Themes[themeName];
let svgString = createDonutChartCard(
"Top Languages by Commit",
"Top Languages",
langData,
theme
);
Expand Down

0 comments on commit 70b0f53

Please sign in to comment.