We need to query for builds even if the repository is not currently building.

This commit is contained in:
Joseph Schorr 2015-05-07 18:26:11 -04:00
parent 7b35555776
commit e99ae67e58

View file

@ -81,12 +81,8 @@
$scope.setTags($routeParams.tag);
// Track builds.
if (!$scope.repository.is_building) {
$scope.viewScope.builds = [];
}
buildPollChannel = AngularPollChannel.create($scope, loadRepositoryBuilds, 30000 /* 30s */);
buildPollChannel.start(!$scope.repository.is_building);
buildPollChannel.start();
}, 10);
});
};