[Frontend] Only include grippy when there's more than one element (#2055)
Fixes #2053
This commit is contained in:
committed by
Pegah Sarram
parent
0520b03b97
commit
2e99f90b7c
@@ -25,10 +25,12 @@
|
|||||||
ng-model="filterBy">
|
ng-model="filterBy">
|
||||||
</mct-include>
|
</mct-include>
|
||||||
<div class="flex-elem grows vscroll">
|
<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">
|
<li ng-repeat="containedObject in composition | filter:searchElements">
|
||||||
<span class="tree-item">
|
<span class="tree-item">
|
||||||
<span class="grippy-sm"
|
<span class="grippy-sm"
|
||||||
|
ng-if="composition.length > 1"
|
||||||
data-id="{{ containedObject.id }}"
|
data-id="{{ containedObject.id }}"
|
||||||
mct-drag-down="dragDown($event)"
|
mct-drag-down="dragDown($event)"
|
||||||
mct-drag="drag($event)"
|
mct-drag="drag($event)"
|
||||||
|
|||||||
Reference in New Issue
Block a user