From c7db597e3fc2422255a85e473295f4f32cab11d9 Mon Sep 17 00:00:00 2001 From: Felix Ableitner <me@nutomic.com> Date: Mon, 22 Mar 2021 14:18:46 +0100 Subject: [PATCH] Allow adding and removing remote mods --- src/shared/components/post-listing.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shared/components/post-listing.tsx b/src/shared/components/post-listing.tsx index 1e96961..2c08597 100644 --- a/src/shared/components/post-listing.tsx +++ b/src/shared/components/post-listing.tsx @@ -772,8 +772,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> { {i18n.t("unban")} </button> ))} - {!post_view.creator_banned_from_community && - post_view.creator.local && ( + {!post_view.creator_banned_from_community && ( <button class="btn btn-link btn-animate text-muted py-0" onClick={linkEvent(this, this.handleAddModToCommunity)} @@ -793,7 +792,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> { {/* Community creators and admins can transfer community to another mod */} {(this.amCommunityCreator || this.canAdmin) && this.isMod && - post_view.creator.local && (!this.state.showConfirmTransferCommunity ? ( <button class="btn btn-link btn-animate text-muted py-0" -- 2.44.1