mirror of
https://github.com/ohwgiles/laminar.git
synced 2026-03-02 03:40:21 +00:00
fix colours of per-job build time graph
This commit is contained in:
@@ -545,7 +545,7 @@ var Job = function() {
|
|||||||
pointHoverRadius: 0,
|
pointHoverRadius: 0,
|
||||||
},{
|
},{
|
||||||
label: 'Build time',
|
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) {
|
data: msg.recent.map(function(e) {
|
||||||
return e.completed - e.started;
|
return e.completed - e.started;
|
||||||
}).reverse()
|
}).reverse()
|
||||||
|
|||||||
Reference in New Issue
Block a user