Fix replying from search result
Этот коммит содержится в:
@@ -46,9 +46,16 @@ export function emitPostFocusRightHandSideFromSearch(post, isMentionSearch) {
|
|||||||
post.channel_id,
|
post.channel_id,
|
||||||
post.id,
|
post.id,
|
||||||
(data) => {
|
(data) => {
|
||||||
|
AppDispatcher.handleServerAction({
|
||||||
|
type: ActionTypes.RECEIVED_POSTS,
|
||||||
|
id: post.channel_id,
|
||||||
|
numRequested: 0,
|
||||||
|
post_list: data
|
||||||
|
});
|
||||||
|
|
||||||
AppDispatcher.handleServerAction({
|
AppDispatcher.handleServerAction({
|
||||||
type: ActionTypes.RECEIVED_POST_SELECTED,
|
type: ActionTypes.RECEIVED_POST_SELECTED,
|
||||||
post_list: data,
|
postId: Utils.getRootId(post),
|
||||||
from_search: SearchStore.getSearchTerm()
|
from_search: SearchStore.getSearchTerm()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user