Fix unread notification count when polling (#16272)
* Fix unread notification count when polling Fixes #16236 * Immediately fetch markers to avoid incorrect unread notification count
This commit is contained in:
parent
689974b1ed
commit
92f1d739b5
2 changed files with 2 additions and 2 deletions
|
@ -361,9 +361,9 @@ class UI extends React.PureComponent {
|
|||
this.props.dispatch(closeOnboarding());
|
||||
}
|
||||
|
||||
this.props.dispatch(fetchMarkers());
|
||||
this.props.dispatch(expandHomeTimeline());
|
||||
this.props.dispatch(expandNotifications());
|
||||
setTimeout(() => this.props.dispatch(fetchMarkers()), 500);
|
||||
setTimeout(() => this.props.dispatch(fetchFilters()), 500);
|
||||
|
||||
this.hotkeys.__mousetrap__.stopCallback = (e, element) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue