A platform for community discussion. Free, open, simple.
DEV: Passthrough attributes on TopicList component (#32318)
David Taylore9b6dbe316a5
diff --git a/app/assets/javascripts/discourse/app/components/topic-list.gjs b/app/assets/javascripts/discourse/app/components/topic-list.gjsindex 86276a743cc..664ad7d966c 100644--- a/app/assets/javascripts/discourse/app/components/topic-list.gjs+++ b/app/assets/javascripts/discourse/app/components/topic-list.gjs@@ -14,7 +14,7 @@ export default class TopicListShim extends Component {<template>{{#let (curryComponent List this.args) as |CurriedComponent|}}- <CurriedComponent />+ <CurriedComponent ...attributes />{{/let}}</template>}diff --git a/app/assets/javascripts/discourse/app/components/topic-list/list.gjs b/app/assets/javascripts/discourse/app/components/topic-list/list.gjsindex 20970533a5e..b10506fc21f 100644--- a/app/assets/javascripts/discourse/app/components/topic-list/list.gjs+++ b/app/assets/javascripts/discourse/app/components/topic-list/list.gjs@@ -188,6 +188,7 @@ export default class TopicList extends Component {(if this.bulkSelectEnabled "sticky-header bulk-select-enabled")this.additionalClasses}}+ ...attributes><caption class="sr-only">{{i18n "sr_topic_list_caption"}}</caption><thead class="topic-list-header">