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:
parent
c6e6a883f6
commit
8ba7b0727a
|
@ -1,3 +1,3 @@
|
|||
import TopicList from "discourse/components/topic-list";
|
||||
|
||||
export default TopicList;
|
||||
export default class AssignedTopicList extends TopicList {}
|
||||
|
|
Loading…
Reference in New Issue