mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 07:42:48 +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');
|
|
})
|
|
});
|