mirror of
https://github.com/flarum/core.git
synced 2025-07-24 02:01:19 +02:00
12 lines
267 B
JavaScript
12 lines
267 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
classNames: ['notification'],
|
|
classNameBindings: ['notification.isRead::unread'],
|
|
|
|
click: function() {
|
|
console.log('click')
|
|
this.get('notification').set('isRead', true).save();
|
|
}
|
|
});
|