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:
Joram Wilander
2015-07-22 11:18:39 -04:00

View File

@@ -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();