diff --git a/app/assets/javascripts/discourse/app/components/topic-list/latest-topic-list-item.gjs b/app/assets/javascripts/discourse/app/components/topic-list/latest-topic-list-item.gjs index 040eedd471c..87a388c95e5 100644 --- a/app/assets/javascripts/discourse/app/components/topic-list/latest-topic-list-item.gjs +++ b/app/assets/javascripts/discourse/app/components/topic-list/latest-topic-list-item.gjs @@ -13,12 +13,19 @@ import discourseTags from "discourse/helpers/discourse-tags"; import formatDate from "discourse/helpers/format-date"; import topicFeaturedLink from "discourse/helpers/topic-featured-link"; import topicLink from "discourse/helpers/topic-link"; +import { applyValueTransformer } from "discourse/lib/transformer"; export default class LatestTopicListItem extends Component { get tagClassNames() { return this.args.topic.tags?.map((tagName) => `tag-${tagName}`); } + get additionalClasses() { + return applyValueTransformer("latest-topic-list-item-class", [], { + topic: this.args.topic, + }); + } +