mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
Rename user.newNotificationsCount
This commit is contained in:
@@ -95,7 +95,7 @@ export default class Navigation extends Component {
|
||||
|
||||
return Button.component({
|
||||
className: 'Button Button--icon Navigation-drawer' +
|
||||
(user && user.newNotificationsCount() ? ' new' : ''),
|
||||
(user && user.newNotificationCount() ? ' new' : ''),
|
||||
onclick: e => {
|
||||
e.stopPropagation();
|
||||
drawer.show();
|
||||
|
Reference in New Issue
Block a user