Skip to content

Commit

Permalink
Fix colorB override not working for static badges (#1801)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedSparr0w authored and paulmelnikow committed Jul 23, 2018
1 parent 5a62ed5 commit f5fe85c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -7830,9 +7830,9 @@ function(data, match, end, ask) {
// Badge creation.
try {
var badgeData = getBadgeData(subject, data);
if (data.label !== undefined) { badgeData.text[0] = '' + data.label; }
badgeData.text[0] = getLabel(subject, data);
badgeData.text[1] = status;
setBadgeColor(badgeData, color);
badgeData.colorB = makeColorB(color, data);
badgeData.template = data.style;
if (config.profiling.makeBadge) {
console.time('makeBadge total');
Expand Down

0 comments on commit f5fe85c

Please sign in to comment.