diff --git a/assets/javascripts/discourse/components/ai-features-list.gjs b/assets/javascripts/discourse/components/ai-features-list.gjs index 1f8de792..eace77ae 100644 --- a/assets/javascripts/discourse/components/ai-features-list.gjs +++ b/assets/javascripts/discourse/components/ai-features-list.gjs @@ -44,14 +44,19 @@ class ExpandableList extends Component { this.isExpanded = !this.isExpanded; } + @action + isLastItem(index) { + return index === this.visibleItems.length - 1; + } +