Skip to content

Commit

Permalink
attribute name change to avoid over extend and overlap with value
Browse files Browse the repository at this point in the history
  • Loading branch information
gh0stintheshe11 committed Oct 24, 2024
1 parent b574a54 commit 683d113
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/render/render_github.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,8 @@ async function renderStats(stats) {
<g transform="translate(30, 420)" class="animate animate-delay-11">
<path class="icon" d="${Icons.merged_prs_percentage_icon}" transform="translate(5, -17) scale(0.04)"/>
<text x="40" y="0" class="label">Merged PRs Percentage</text>
<text x="320" y="0" class="value" text-anchor="end">${stats.merged_prs_percentage.toFixed(1)}%</text>
<text x="40" y="0" class="label">Merged PRs %</text>
<text x="320" y="0" class="value" text-anchor="end">${stats.merged_prs_percentage.toFixed(1)}</text>
</g>
<g transform="translate(30, 460)" class="animate animate-delay-5">
Expand Down Expand Up @@ -659,13 +659,13 @@ async function renderStats(stats) {
<g transform="translate(30, 540)" class="animate animate-delay-12">
<path class="icon" d="${Icons.discussions_started_icon}" transform="translate(5, -18) scale(1.4)"/>
<text x="40" y="0" class="label">Total Discussions Started</text>
<text x="40" y="0" class="label">Discussions Started</text>
<text x="320" y="0" class="value" text-anchor="end">${convertNumberUnit(stats.total_discussions_started)}</text>
</g>
<g transform="translate(30, 580)" class="animate animate-delay-13">
<path class="icon" d="${Icons.discussions_answered_icon}" transform="translate(4, -20) scale(1.6)"/>
<text x="40" y="0" class="label">Total Discussions Answered</text>
<text x="40" y="0" class="label">Discussions Answered</text>
<text x="320" y="0" class="value" text-anchor="end">${convertNumberUnit(stats.total_discussions_answered)}</text>
</g>
Expand Down

0 comments on commit 683d113

Please sign in to comment.