Clean up discussion renamed notification

This commit is contained in:
Toby Zerner 2015-05-05 14:27:59 +09:30
parent e6a987ff12
commit ee1302c9ef

View File

@ -19,13 +19,8 @@ export default class NotificationDiscussionRenamed extends Notification {
m('div.notification-info', [
icon('pencil'),
' Renamed by ', username(notification.sender()),
notification.additionalUnreadCount() ? ' and '+notification.additionalUnreadCount()+' others' : '',
' ', humanTime(notification.time())
])
]);
}
read() {
this.props.notification.save({isRead: true});
}
}