From 9dcf427f99c9f6f44b6df5d437e88b90521b0747 Mon Sep 17 00:00:00 2001 From: yackob03 Date: Wed, 30 Oct 2013 13:40:55 -0400 Subject: [PATCH] Remove an unnecessary check from the listImages function. --- static/js/controllers.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/static/js/controllers.js b/static/js/controllers.js index 1ea6fd055..d7940ece6 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -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;