summaryrefslogtreecommitdiffstats
path: root/web/react/components/notify_counts.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/notify_counts.jsx')
-rw-r--r--web/react/components/notify_counts.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/notify_counts.jsx b/web/react/components/notify_counts.jsx
index 54b9e4289..0a4f60989 100644
--- a/web/react/components/notify_counts.jsx
+++ b/web/react/components/notify_counts.jsx
@@ -39,7 +39,7 @@ export default class NotifyCounts extends React.Component {
}
onListenerChange() {
var newState = getCountsStateFromStores();
- if (!utils.areStatesEqual(newState, this.state)) {
+ if (!utils.areObjectsEqual(newState, this.state)) {
this.setState(newState);
}
}