mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Added comments for the force update functions
This commit is contained in:
@@ -196,6 +196,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
this.setState(newState);
|
||||
} else {
|
||||
// Updates the timestamp on each post
|
||||
this.forceUpdate()
|
||||
}
|
||||
},
|
||||
|
||||
@@ -24,6 +24,7 @@ module.exports = React.createClass({
|
||||
UserStore.removeStatusesChangeListener(this._onChange);
|
||||
},
|
||||
_onChange: function() {
|
||||
// Updates the timestamp on each post
|
||||
this.forceUpdate();
|
||||
},
|
||||
_onSelectedChange: function(from_search) {
|
||||
|
||||
Reference in New Issue
Block a user