From 59798c137584a0b7e008ec713b489929dd83a690 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 29 Aug 2017 13:13:03 -0400 Subject: Fix permalink loading for non-loaded posts (#7310) --- webapp/components/post_view/post_list.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/post_view') diff --git a/webapp/components/post_view/post_list.jsx b/webapp/components/post_view/post_list.jsx index d8a56fe83..c13de7096 100644 --- a/webapp/components/post_view/post_list.jsx +++ b/webapp/components/post_view/post_list.jsx @@ -301,7 +301,7 @@ export default class PostList extends React.PureComponent { loadPosts = async (channelId, focusedPostId) => { let posts; if (focusedPostId) { - const getPostThreadAsync = this.props.actions.getPostThread(focusedPostId); + const getPostThreadAsync = this.props.actions.getPostThread(focusedPostId, false); const getPostsBeforeAsync = this.props.actions.getPostsBefore(channelId, focusedPostId, 0, POSTS_PER_PAGE); const getPostsAfterAsync = this.props.actions.getPostsAfter(channelId, focusedPostId, 0, POSTS_PER_PAGE); -- cgit v1.2.3-1-g7c22