mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #232 from mattermost/post-list-null
Small fix for a null TypeError in post_list updating code
This commit is contained in:
@@ -223,6 +223,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
},
|
||||
_onTimeChange: function() {
|
||||
if (!this.state.post_list) return;
|
||||
for (var id in this.state.post_list.posts) {
|
||||
if (!this.refs[id]) continue;
|
||||
this.refs[id].forceUpdateInfo();
|
||||
|
||||
Reference in New Issue
Block a user