Fix permalink loading for non-loaded posts (#7310)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f1d1ce4e7e
Коммит
59798c1375
@@ -301,7 +301,7 @@ export default class PostList extends React.PureComponent {
|
|||||||
loadPosts = async (channelId, focusedPostId) => {
|
loadPosts = async (channelId, focusedPostId) => {
|
||||||
let posts;
|
let posts;
|
||||||
if (focusedPostId) {
|
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 getPostsBeforeAsync = this.props.actions.getPostsBefore(channelId, focusedPostId, 0, POSTS_PER_PAGE);
|
||||||
const getPostsAfterAsync = this.props.actions.getPostsAfter(channelId, focusedPostId, 0, POSTS_PER_PAGE);
|
const getPostsAfterAsync = this.props.actions.getPostsAfter(channelId, focusedPostId, 0, POSTS_PER_PAGE);
|
||||||
|
|
||||||
|
|||||||
@@ -5065,7 +5065,7 @@ math-expression-evaluator@^1.2.14:
|
|||||||
|
|
||||||
mattermost-redux@mattermost/mattermost-redux#master:
|
mattermost-redux@mattermost/mattermost-redux#master:
|
||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
resolved "https://codeload.github.com/mattermost/mattermost-redux/tar.gz/c5a9c96468cb8099230c447c87f2ca630bbfb531"
|
resolved "https://codeload.github.com/mattermost/mattermost-redux/tar.gz/b9095aebb083046eb6e313c4c07d6006e974d7d0"
|
||||||
dependencies:
|
dependencies:
|
||||||
deep-equal "1.0.1"
|
deep-equal "1.0.1"
|
||||||
harmony-reflect "1.5.1"
|
harmony-reflect "1.5.1"
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user