Make sure to have latests posts for the view whhen switching to a channel

Этот коммит содержится в:
JoramWilander
2015-11-30 11:50:35 -05:00
родитель ce259ad7f1
Коммит e430b1fd53
2 изменённых файлов: 4 добавлений и 2 удалений

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

@@ -211,7 +211,7 @@ class PostStoreClass extends EventEmitter {
postList.order = this.postsInfo[id].pendingPosts.order.concat(postList.order);
}
// Add delteted posts
// Add deleted posts
if (this.postsInfo[id].hasOwnProperty('deletedPosts')) {
Object.assign(postList.posts, this.postsInfo[id].deletedPosts);