Fix case where image changes load results in a 404

This commit is contained in:
Joseph Schorr 2013-10-30 13:03:44 -04:00
parent 081041b85f
commit 8a0d6d05b4

View file

@ -433,7 +433,7 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope, $location, $tim
changesFetch.get().then(function(changeInfo) {
$scope.currentImageChanges = changeInfo;
}, function() {
$scope.currentImageChanges = {};
$scope.currentImageChanges = {'added': [], 'removed': [], 'changed': []};
});
};