Fix colorB override not working for static badges (#1801)

This commit is contained in:
Danial
2018-07-23 18:33:32 -05:00
committed by Paul Melnikow
parent 5a62ed59fe
commit f5fe85cda2
+2 -2
View File
@@ -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');