Skip to content

Commit

Permalink
Update badge-maker/lib/badge-renderers.js
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
  • Loading branch information
chris48s and calebcartwright authored Aug 21, 2021
1 parent f982039 commit b6c5a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badge-maker/lib/badge-renderers.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class Badge {
return this.getTextElement({
leftMargin: this.labelMargin,
content: this.label,
link: !shouldWrapBodyWithLink({ links: this.links }) && leftLink,
link: leftLink && !shouldWrapBodyWithLink({ links: this.links }),
color: this.labelColor,
textWidth: this.labelWidth,
linkWidth: this.leftWidth,
Expand Down

0 comments on commit b6c5a10

Please sign in to comment.