Merge "Fix existing metadata display in metadata widget"

This commit is contained in:
Jenkins 2016-05-12 04:34:29 +00:00 committed by Gerrit Code Review
commit 4f9e33d4c5
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@
</div>
</div>
<ul class="list-group metadata-list-group" ng-form="ctrl.metadataForm" ng-cloak>
<li ng-repeat="item in existingList = (ctrl.tree.flatTree | filter:{$:ctrl.filterText.existing, added:true, leaf:'!null'} | orderBy:'leaf.name')"
<li ng-repeat="item in existingList = (ctrl.tree.flatTree | filter:{$:ctrl.filterText.existing, added:true, leaf:'!false'} | orderBy:'leaf.name')"
ng-class="{'active': ctrl.tree.selected===item}"
ng-class-odd="'dark-stripe'"
ng-class-even="'light-stripe'"

View File

@ -132,7 +132,7 @@
this.addedCount = 0;
this.custom = false;
// Leaf properties
this.leaf = null;
this.leaf = false;
this.added = false;
}