We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unread notifications count doesn't update on events
Unread notifications count should increment by 1 with each notification
No response
php flarum info
https://github.com/flarum/framework/blob/1.x/extensions/pusher/js/src/forum/index.tsx#L152C12-L153C84
Replace in those 2 lines: app.session.user.unreadNotificationCount() ?? 0 + 1 to (app.session.user.unreadNotificationCount() ?? 0) + 1 app.session.user.newNotificationCount() ?? 0 + 1 to (app.session.user.newNotificationCount() ?? 0) + 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current Behavior
Unread notifications count doesn't update on events
Steps to Reproduce
Expected Behavior
Unread notifications count should increment by 1 with each notification
Screenshots
No response
Environment
Output of
php flarum info
No response
Possible Solution
https://github.com/flarum/framework/blob/1.x/extensions/pusher/js/src/forum/index.tsx#L152C12-L153C84
Replace in those 2 lines:
app.session.user.unreadNotificationCount() ?? 0 + 1 to (app.session.user.unreadNotificationCount() ?? 0) + 1
app.session.user.newNotificationCount() ?? 0 + 1 to (app.session.user.newNotificationCount() ?? 0) + 1
Additional Context
No response
The text was updated successfully, but these errors were encountered: