mirror of
https://github.com/flarum/core.git
synced 2025-07-25 02:31:17 +02:00
13 lines
356 B
JavaScript
13 lines
356 B
JavaScript
import Ember from 'ember';
|
|
|
|
import FadeIn from 'flarum/mixins/fade-in';
|
|
|
|
export default Ember.Component.extend(FadeIn, {
|
|
layoutName: 'components/application/notification-item',
|
|
tagName: 'li',
|
|
|
|
componentName: Ember.computed('notification.contentType', function() {
|
|
return 'application/notification-'+this.get('notification.contentType');
|
|
})
|
|
});
|