Convert latest-topic-list to components and remove nested tables
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export default Ember.Component.extend({
|
||||
tagName: ''
|
||||
});
|
||||
@@ -1,6 +1,7 @@
|
||||
import { showEntrance } from "discourse/components/topic-list-item";
|
||||
|
||||
export default Ember.Component.extend({
|
||||
tagName: "tr",
|
||||
click: showEntrance,
|
||||
attributeBindings: ['topic.id:data-topic-id'],
|
||||
classNameBindings: [':latest-topic-list-item', 'topic.archived']
|
||||
});
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export default Ember.Component.extend({
|
||||
classNames: ['latest-topic-list']
|
||||
});
|
||||
Reference in New Issue
Block a user