summaryrefslogtreecommitdiffstats
path: root/ui/src/components/comment-nodes.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-09-13 08:37:12 -0700
committerDessalines <tyhou13@gmx.com>2019-09-13 08:37:12 -0700
commitc8da0a92ec7aecfb8fd37435ad2973af6b6fc04b (patch)
tree44202f9a52e72ec4459f31f054673e252301426d /ui/src/components/comment-nodes.tsx
parent88f7c1e4ccd39d1c2cbc8f42c8a9e3938b3194fd (diff)
Add Creator flair for post creator / OPs comments
- Fixes #275
Diffstat (limited to 'ui/src/components/comment-nodes.tsx')
-rw-r--r--ui/src/components/comment-nodes.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/components/comment-nodes.tsx b/ui/src/components/comment-nodes.tsx
index fca323e3..1e61c2f0 100644
--- a/ui/src/components/comment-nodes.tsx
+++ b/ui/src/components/comment-nodes.tsx
@@ -9,6 +9,7 @@ interface CommentNodesProps {
nodes: Array<CommentNodeI>;
moderators?: Array<CommunityUser>;
admins?: Array<UserView>;
+ postCreatorId?: number;
noIndent?: boolean;
viewOnly?: boolean;
locked?: boolean;
@@ -31,6 +32,7 @@ export class CommentNodes extends Component<CommentNodesProps, CommentNodesState
locked={this.props.locked}
moderators={this.props.moderators}
admins={this.props.admins}
+ postCreatorId={this.props.postCreatorId}
markable={this.props.markable}
/>
)}