Small patch for a null TypeError in post_list updating code
Этот коммит содержится в:
@@ -223,6 +223,7 @@ module.exports = React.createClass({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
_onTimeChange: function() {
|
_onTimeChange: function() {
|
||||||
|
if (!this.state.post_list) return;
|
||||||
for (var id in this.state.post_list.posts) {
|
for (var id in this.state.post_list.posts) {
|
||||||
if (!this.refs[id]) continue;
|
if (!this.refs[id]) continue;
|
||||||
this.refs[id].forceUpdateInfo();
|
this.refs[id].forceUpdateInfo();
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user