diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-19 21:06:25 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-19 21:06:25 -0700 |
commit | 9afadfb9c4c5db1796848ec4af9756fe03d51ee3 (patch) | |
tree | 22a2ea818d6bfcdb390e398c4c9bd5e05595587c /ui/src/components/comment-nodes.tsx | |
parent | 6f801bb819169060abcf1d8e901759f133dc6987 (diff) |
Saving replies, the actual fixes will be in the merge to dev.
Diffstat (limited to 'ui/src/components/comment-nodes.tsx')
-rw-r--r-- | ui/src/components/comment-nodes.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/src/components/comment-nodes.tsx b/ui/src/components/comment-nodes.tsx index 498c69b8..abbb1719 100644 --- a/ui/src/components/comment-nodes.tsx +++ b/ui/src/components/comment-nodes.tsx @@ -1,5 +1,5 @@ import { Component } from 'inferno'; -import { CommentNode as CommentNodeI, CommunityUser } from '../interfaces'; +import { CommentNode as CommentNodeI, CommunityUser, UserView } from '../interfaces'; import { CommentNode } from './comment-node'; interface CommentNodesState { @@ -8,6 +8,7 @@ interface CommentNodesState { interface CommentNodesProps { nodes: Array<CommentNodeI>; moderators?: Array<CommunityUser>; + admins?: Array<UserView>; noIndent?: boolean; viewOnly?: boolean; locked?: boolean; @@ -27,7 +28,9 @@ export class CommentNodes extends Component<CommentNodesProps, CommentNodesState noIndent={this.props.noIndent} viewOnly={this.props.viewOnly} locked={this.props.locked} - moderators={this.props.moderators}/> + moderators={this.props.moderators} + admins={this.props.admins} + /> )} </div> ) |