mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
Clean up discussion renamed notification
This commit is contained in:
parent
e6a987ff12
commit
ee1302c9ef
@ -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});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user