diff --git a/app/assets/javascripts/discourse/app/components/topic-list/list.gjs b/app/assets/javascripts/discourse/app/components/topic-list/list.gjs index 549a18c4af2..99bccf33f8f 100644 --- a/app/assets/javascripts/discourse/app/components/topic-list/list.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-list/list.gjs @@ -1,6 +1,6 @@ import Component from "@glimmer/component"; import { cached } from "@glimmer/tracking"; -import { array, hash } from "@ember/helper"; +import { hash } from "@ember/helper"; import { service } from "@ember/service"; import { eq, or } from "truth-helpers"; import PluginOutlet from "discourse/components/plugin-outlet"; @@ -166,13 +166,19 @@ export default class TopicList extends Component { return lastVisitedTopic; } + get additionalClasses() { + return applyValueTransformer("topic-list-class", [], { + topics: this.args.topics, + }); + } +