mirror of
https://github.com/flarum/core.git
synced 2025-08-17 22:01:44 +02:00
Make post types/components more flexible
This commit is contained in:
@@ -12,7 +12,7 @@ export default Ember.Component.extend({
|
||||
}
|
||||
var listItems = [];
|
||||
this.get('items').forEach(function(item) {
|
||||
if (item.tagName !== 'li') {
|
||||
if (item.get('tagName') !== 'li') {
|
||||
item = ComponentItem.extend({component: item});
|
||||
}
|
||||
listItems.push(item);
|
||||
|
Reference in New Issue
Block a user