diff options
author | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-09-17 19:33:42 -0400 |
---|---|---|
committer | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2018-09-17 19:33:42 -0400 |
commit | b7cc4f1d2e9c55ad78f8c6a27724f1f8a6393d65 (patch) | |
tree | 5502e4c6205a6901085883e50a89bceb9ed4ed59 /src/components/mao-forums.js | |
parent | 55104bc0b7f45c2b8950deb4d8d642c5ec88afea (diff) |
Stil working on comment feature. Successfully connected the comments on posts to forum-elements. Just need to create html to show comments.
Diffstat (limited to 'src/components/mao-forums.js')
-rw-r--r-- | src/components/mao-forums.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/mao-forums.js b/src/components/mao-forums.js index b85fa26..1d1b5f6 100644 --- a/src/components/mao-forums.js +++ b/src/components/mao-forums.js @@ -153,6 +153,8 @@ class MaoForums extends connect(store)(PageViewElement) { forumElement.author = this.forumPosts[i].email .replace('@communityschoolnaples.org', ''); forumElement.subject = this.forumPosts[i].subject; forumElement.content = this.forumPosts[i].content; + forumElement.postId = this.forumPosts[i].postId; + forumElement.comments = this.forumPosts[i].comments; postsGrid.appendChild(forumElement); } |