Merge "Fix existing metadata display in metadata widget"
This commit is contained in:
commit
4f9e33d4c5
@ -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'"
|
||||
|
@ -132,7 +132,7 @@
|
||||
this.addedCount = 0;
|
||||
this.custom = false;
|
||||
// Leaf properties
|
||||
this.leaf = null;
|
||||
this.leaf = false;
|
||||
this.added = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user