Fix NPE and other small issues with the new image view

This commit is contained in:
Joseph Schorr 2015-03-24 19:28:24 -04:00
parent 3d44416016
commit 0d98776d54
4 changed files with 18 additions and 6 deletions

View file

@ -40,8 +40,17 @@
<div id="changes" class="tab-pane">
<div class="resource-view" resource="changesResource" error-message="'Could not load image changes'">
<h3>Image File Changes</h3>
<div id="changes-tree-container" class="changes-container"
onresize="tree && tree.notifyResized()"></div>
<div class="empty" ng-if="!combinedChanges.length">
<div class="empty-primary-msg">No file changes</div>
<div class="empty-secondary-msg">
There were no file system changes in this image layer.
</div>
</div>
<div ng-show="combinedChanges.length">
<div id="changes-tree-container" class="changes-container"
onresize="tree && tree.notifyResized()"></div>
</div>
</div>
</div>
</div>