Remove an unnecessary check from the listImages function.

This commit is contained in:
yackob03 2013-10-30 13:40:55 -04:00
parent d39848962f
commit 9dcf427f99

View file

@ -402,8 +402,6 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope, $location, $tim
};
var listImages = function() {
if ($scope.imageHistory) { return; }
var imageFetch = Restangular.one('repository/' + namespace + '/' + name + '/image/');
imageFetch.get().then(function(resp) {
$scope.imageHistory = resp.images;