mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-07-17 14:16:35 +00:00
fix(stats card): set correct value of commits count in accessability label (#3610)
This commit is contained in:
@@ -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}`;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user