DEV: Make assigned-topic-list a real component (#442)

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:54:30 +00:00 committed by GitHub
parent c6e6a883f6
commit 8ba7b0727a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {}