DEV: Make assigned-topic-list a real component

Re-exporting the TopicList component as-is leads to unexpected behavior when colocating templates because `AssignedTopicList` === `TopicList`. Extending it gives the component its own identity.
This commit is contained in:
David Taylor 2023-02-13 17:38:10 +00:00
parent c6e6a883f6
commit e21ecf8f64
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
import TopicList from "discourse/components/topic-list";
export default TopicList;
export default class AssignedTopicList extends TopicList {}