Fix NPE and other small issues with the new image view
This commit is contained in:
parent
3d44416016
commit
0d98776d54
4 changed files with 18 additions and 6 deletions
|
@ -73,7 +73,7 @@
|
|||
};
|
||||
|
||||
$scope.initializeTree = function() {
|
||||
if ($scope.tree) { return; }
|
||||
if ($scope.tree || !$scope.combinedChanges.length) { return; }
|
||||
|
||||
$scope.tree = new ImageFileChangeTree($scope.image, $scope.combinedChanges);
|
||||
$timeout(function() {
|
||||
|
|
Reference in a new issue