Fixing reply from permalinks
Этот коммит содержится в:
@@ -96,7 +96,7 @@ class PostStoreClass extends EventEmitter {
|
|||||||
let post = null;
|
let post = null;
|
||||||
|
|
||||||
if (posts.posts.hasOwnProperty(postId)) {
|
if (posts.posts.hasOwnProperty(postId)) {
|
||||||
post = Object.assign({}, posts.posts[postId]);
|
post = posts.posts[postId];
|
||||||
}
|
}
|
||||||
|
|
||||||
return post;
|
return post;
|
||||||
@@ -104,7 +104,7 @@ class PostStoreClass extends EventEmitter {
|
|||||||
|
|
||||||
getAllPosts(id) {
|
getAllPosts(id) {
|
||||||
if (this.postsInfo.hasOwnProperty(id)) {
|
if (this.postsInfo.hasOwnProperty(id)) {
|
||||||
return Object.assign({}, this.postsInfo[id].postList);
|
return this.postsInfo[id].postList;
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user