]> Untitled Git - lemmy-ui.git/commitdiff
oops
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Tue, 27 Jun 2023 18:31:53 +0000 (14:31 -0400)
committerAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Tue, 27 Jun 2023 18:31:53 +0000 (14:31 -0400)
src/shared/components/comment/comment-node.tsx

index fcb74751a5fe17407066c575367029803b0013d0..b6d491b2ebb5d32ce5d1f727e64f90870abcc165 100644 (file)
@@ -339,7 +339,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
                   shrunkenLabelClasses: "text-danger",
                 })}
 
-              {true &&
+              {cv.creator.bot_account &&
                 this.getRoleLabelPill({
                   label: I18NextService.i18n.t("bot_account").toLowerCase(),
                   tooltip: I18NextService.i18n.t("bot_account"),