mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix console error from replying in mobile view (#2864)
This commit is contained in:
committed by
Harrison Healey
parent
b474196e5c
commit
3c0d5b9838
@@ -510,7 +510,7 @@ export default class PostsView extends React.Component {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user