PLT-3203 Commenting on the RHS while in permalink view makes the message not show up in the RHS (#3282)

Этот коммит содержится в:
enahum
2016-06-07 18:43:36 -03:00
коммит произвёл Joram Wilander
родитель bde4326458
Коммит 3a6694cc6b
5 изменённых файлов: 13 добавлений и 7 удалений

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

@@ -551,7 +551,7 @@ PostStore.dispatchToken = AppDispatcher.register((payload) => {
switch (action.type) {
case ActionTypes.RECEIVED_POSTS: {
const id = PostStore.currentFocusedPostId == null ? action.id : PostStore.currentFocusedPostId;
const id = PostStore.currentFocusedPostId !== null && action.isPost ? PostStore.currentFocusedPostId : action.id;
PostStore.storePosts(id, makePostListNonNull(action.post_list));
PostStore.checkBounds(id, action.numRequested, makePostListNonNull(action.post_list), action.before);
PostStore.emitChange();