From 57f1e331262e7c2424ef5dca2e029bbe36ab6e5a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 7 Aug 2020 11:21:01 -0400 Subject: [PATCH] Remove options for appoint as admin / mod, and transfer site for non-federated users. #647 --- ui/src/components/comment-node.tsx | 4 ++ ui/src/components/post-listing.tsx | 72 +++++++++++++++--------------- 2 files changed, 41 insertions(+), 35 deletions(-) diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index b9db7bb65..ef8a07182 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -475,6 +475,7 @@ export class CommentNode extends Component { ))} {!node.comment.banned_from_community && + node.comment.creator_local && (!this.state.showConfirmAppointAsMod ? ( ))} {!node.comment.banned && + node.comment.creator_local && (!this.state.showConfirmAppointAsAdmin ? (