Merge "Zuul status: only count live changes"

This commit is contained in:
Jenkins 2015-02-13 23:52:42 +00:00 committed by Gerrit Code Review
commit 18de66c580

@ -108,7 +108,9 @@ function create_tree(pipeline) {
});
$.each(change_queue['heads'], function(head_i, head) {
$.each(head, function(change_i, change) {
count += 1;
if (change.live === true) {
count += 1;
}
var idx = tree.indexOf(change['id']);
if (idx > -1) {
change['_tree_index'] = idx;