fix colours of per-job build time graph

pull/137/head
Oliver Giles 4 years ago
parent dc3e41fb28
commit 4b62e6dbf3

@ -545,7 +545,7 @@ var Job = function() {
pointHoverRadius: 0,
},{
label: 'Build time',
backgroundColor: msg.recent.map(e => e.result == 'success' ? '#74af77': '#883d3d'),
backgroundColor: msg.recent.map(e => e.result == 'success' ? '#74af77': '#883d3d').reverse(),
data: msg.recent.map(function(e) {
return e.completed - e.started;
}).reverse()

Loading…
Cancel
Save