mirror of
https://github.com/flarum/framework.git
synced 2024-12-14 16:13:50 +08:00
13 lines
312 B
JavaScript
13 lines
312 B
JavaScript
|
import Ember from 'ember';
|
||
|
|
||
|
import FadeIn from 'flarum/mixins/fade-in';
|
||
|
|
||
|
export default Ember.Component.extend(FadeIn, {
|
||
|
layoutName: 'components/user/activity-item',
|
||
|
tagName: 'li',
|
||
|
|
||
|
componentName: Ember.computed('activity.type', function() {
|
||
|
return 'user/activity-'+this.get('activity.type');
|
||
|
})
|
||
|
});
|