We need to query for builds even if the repository is not currently building.
This commit is contained in:
parent
7b35555776
commit
e99ae67e58
1 changed files with 1 additions and 5 deletions
|
@ -81,12 +81,8 @@
|
||||||
$scope.setTags($routeParams.tag);
|
$scope.setTags($routeParams.tag);
|
||||||
|
|
||||||
// Track builds.
|
// Track builds.
|
||||||
if (!$scope.repository.is_building) {
|
|
||||||
$scope.viewScope.builds = [];
|
|
||||||
}
|
|
||||||
|
|
||||||
buildPollChannel = AngularPollChannel.create($scope, loadRepositoryBuilds, 30000 /* 30s */);
|
buildPollChannel = AngularPollChannel.create($scope, loadRepositoryBuilds, 30000 /* 30s */);
|
||||||
buildPollChannel.start(!$scope.repository.is_building);
|
buildPollChannel.start();
|
||||||
}, 10);
|
}, 10);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue