diff options
author | James E. Blair <jeblair@hp.com> | 2015-02-11 17:56:45 -0800 |
---|---|---|
committer | James E. Blair <jeblair@hp.com> | 2015-02-13 08:55:52 -0800 |
commit | d1d3ce34b61b31f17bc7c782308767c3bb6836cb (patch) | |
tree | ab774d944eaa1d237c0ec40304ef15dbb7c7275a | |
parent | 458970bb627fd9082dedb6ae574b6841abe24232 (diff) | |
download | zuul-d1d3ce34b61b31f17bc7c782308767c3bb6836cb.tar.gz |
Status: only count live changes
Only count live changes on the status page.
Change-Id: I56c14bcdf0d5ef207b16781e82734c2c84113f50
-rw-r--r-- | etc/status/public_html/jquery.zuul.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/status/public_html/jquery.zuul.js b/etc/status/public_html/jquery.zuul.js index c13e48cae..32c45d441 100644 --- a/etc/status/public_html/jquery.zuul.js +++ b/etc/status/public_html/jquery.zuul.js @@ -840,7 +840,9 @@ }); $.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; |