Fix for warnings chart, courtesy of @Henk8 closes #1098
This commit is contained in:
parent
7b345cbc49
commit
9ea6f299c1
|
@ -101,13 +101,12 @@ var warningsPlugin = ActiveBuild.UiPlugin.extend({
|
|||
|
||||
var i = 0;
|
||||
for (var key in self.keys) {
|
||||
self.chartData[i].data.push(parseInt(self.data[build][key]));
|
||||
|
||||
self.chartData.datasets[i].data.push(parseInt(self.data[build][key]));
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
console.log(self.chartData);
|
||||
|
||||
self.drawChart();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue