mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
fix colours of per-job build time graph
This commit is contained in:
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…
Reference in New Issue
Block a user