BuildbotQueueView.prototype._appendPendingRevisionCount should skip repositories...
[WebKit-https.git] / Tools / BuildSlaveSupport / build.webkit.org-config / public_html / dashboard / Scripts / BuildbotQueueView.js
index 848eb1b..9267f49 100644 (file)
@@ -89,6 +89,8 @@ BuildbotQueueView.prototype = {
             var latestProductiveRevisionNumber = latestProductiveIteration.revision[repositoryName];
             if (!latestProductiveRevisionNumber)
                 continue;
+            if (!trac)
+                continue;
             if (!trac.latestRecordedRevisionNumber || trac.oldestRecordedRevisionNumber > latestProductiveRevisionNumber) {
                 trac.loadMoreHistoricalData();
                 return;