diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/posts_view.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/posts_view.jsx b/webapp/components/posts_view.jsx index 0515b696c..f41752469 100644 --- a/webapp/components/posts_view.jsx +++ b/webapp/components/posts_view.jsx @@ -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; } |