Compare commits

...

1 Commits

Author SHA1 Message Date
46dde25a25 [Frontend] Only include grippy when there's more than one element
Fixes #2053
2018-06-01 15:18:30 -07:00

View File

@ -25,10 +25,12 @@
ng-model="filterBy">
</mct-include>
<div class="flex-elem grows vscroll">
<ul class="tree" id="inspector-elements-tree" ng-if="composition.length > 0">
<ul class="tree" id="inspector-elements-tree"
ng-if="composition.length > 0">
<li ng-repeat="containedObject in composition | filter:searchElements">
<span class="tree-item">
<span class="grippy-sm"
ng-if="composition.length > 1"
data-id="{{ containedObject.id }}"
mct-drag-down="dragDown($event)"
mct-drag="drag($event)"