Fix permalink loading for non-loaded posts (#7310)

Этот коммит содержится в:
Joram Wilander
2017-08-29 13:13:03 -04:00
коммит произвёл GitHub
родитель f1d1ce4e7e
Коммит 59798c1375
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@@ -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);