diff options
author | Dessalines <tyhou13@gmx.com> | 2020-07-09 19:59:02 -0400 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-07-09 19:59:02 -0400 |
commit | d222c60cef289b57f0ce350e9f24ce2df4792ef5 (patch) | |
tree | c2ddf596c3c26f8e42ada8b537473bd7322d7074 /ui/src/components/comment-node.tsx | |
parent | 7c35fc546bb148047087db6ed95b1579bab08238 (diff) |
A few cake day fixes. #916
Diffstat (limited to 'ui/src/components/comment-node.tsx')
-rw-r--r-- | ui/src/components/comment-node.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 0e2d1d94..8e976e7c 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -26,7 +26,6 @@ import { isMod, setupTippy, colorList, - isCakeDay, } from '../utils'; import moment from 'moment'; import { MomentTime } from './moment-time'; @@ -34,7 +33,6 @@ import { CommentForm } from './comment-form'; import { CommentNodes } from './comment-nodes'; import { UserListing } from './user-listing'; import { i18n } from '../i18next'; -import { CakeDay } from './cake-day'; interface CommentNodeState { showReply: boolean; @@ -160,14 +158,11 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { id: node.comment.creator_id, local: node.comment.creator_local, actor_id: node.comment.creator_actor_id, + published: node.comment.creator_published, }} /> </span> - {isCakeDay(node.comment.creator_published) && ( - <CakeDay creator_name={node.comment.creator_name} /> - )} - {this.isMod && ( <div className="badge badge-light d-none d-sm-inline mr-2"> {i18n.t('mod')} |