Fix case where image changes load results in a 404
This commit is contained in:
parent
081041b85f
commit
8a0d6d05b4
1 changed files with 1 additions and 1 deletions
|
@ -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': []};
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue