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

Re-exporting the BasicTopicList component as-is leads to unexpected behavior when colocating templates because `BasicAssignedTopicList` === `BasicTopicList`. Extending it gives the component its own identity.

Similar to 8ba7b0727a
This commit is contained in:
David Taylor 2023-02-14 13:39:15 +00:00 committed by GitHub
parent e3a5db4e63
commit d2cc2c4345
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 BasicTopicList from "discourse/components/basic-topic-list";
export default BasicTopicList;
export default class BasicAssignedTopicList extends BasicTopicList {}