Skip to content

Commit

Permalink
fix(stats card): set correct value of commits count in accessability …
Browse files Browse the repository at this point in the history
…label (#3610)
  • Loading branch information
qwerty541 committed Jan 23, 2024
1 parent 533469d commit 91db535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cards/stats-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ const renderStatsCard = (stats, options = {}) => {
if (key === "commits") {
return `${i18n.t("statcard.commits")} ${
include_all_commits ? "" : `in ${new Date().getFullYear()}`
} : ${totalStars}`;
} : ${STATS[key].value}`;
}
return `${STATS[key].label}: ${STATS[key].value}`;
})
Expand Down

0 comments on commit 91db535

Please sign in to comment.