1
0
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:
Toby Zerner
2018-08-24 21:37:51 +09:30
parent 37ffd04b3f
commit ce39bc9070
6 changed files with 7 additions and 7 deletions

View File

@@ -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();