Fix console error from replying in mobile view (#2864)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
b474196e5c
Коммит
3c0d5b9838
@@ -510,7 +510,7 @@ export default class PostsView extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let topPostCreateAt = 0;
|
let topPostCreateAt = 0;
|
||||||
if (this.state.topPostId) {
|
if (this.state.topPostId && this.props.postList.posts[this.state.topPostId]) {
|
||||||
topPostCreateAt = this.props.postList.posts[this.state.topPostId].create_at;
|
topPostCreateAt = this.props.postList.posts[this.state.topPostId].create_at;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user