Этот коммит содержится в:
Christopher Speller
2016-03-31 15:37:50 -04:00
родитель 36f611fac4
Коммит 3ccc0f814a

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

@@ -96,7 +96,7 @@ class PostStoreClass extends EventEmitter {
let post = null;
if (posts.posts.hasOwnProperty(postId)) {
post = Object.assign({}, posts.posts[postId]);
post = posts.posts[postId];
}
return post;
@@ -104,7 +104,7 @@ class PostStoreClass extends EventEmitter {
getAllPosts(id) {
if (this.postsInfo.hasOwnProperty(id)) {
return Object.assign({}, this.postsInfo[id].postList);
return this.postsInfo[id].postList;
}
return null;