Skip to content

Commit 6494f9c

Browse files
Arthur AgombartArthur Agombart
authored andcommitted
feat(*): add class &--last when it's last
1 parent a9f52bd commit 6494f9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/input-tags.template.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
</li>
1212
<li class="ait-dropdown-item"
1313
ng-class="{
14-
'ait-dropdown-item--checked': item.checked
14+
'ait-dropdown-item--checked': item.checked,
15+
'ait-dropdown-item--last': item.data && item.data.length === 0
1516
}"
1617
ng-repeat="item in $ctrl.currentItem.data track by item.code"
1718
ng-click="item.data && item.data.length > 0 ? $ctrl.next(item) : $ctrl.addTag(item)">

0 commit comments

Comments
 (0)