mirror of
https://github.com/flarum/framework.git
synced 2025-06-18 07:52:21 +08:00
@ -30,6 +30,7 @@ export default class NotificationsDropdown extends Dropdown {
|
||||
const unread = this.getUnreadCount();
|
||||
const vdom = super.getButton();
|
||||
|
||||
vdom.attrs.title = this.props.label;
|
||||
vdom.attrs.className += (unread ? ' unread' : '');
|
||||
vdom.attrs.onclick = this.onclick.bind(this);
|
||||
|
||||
|
Reference in New Issue
Block a user