mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31:13 +00:00
Merge branch 'remote-mods'
This commit is contained in:
commit
ffc218f268
2 changed files with 1 additions and 4 deletions
|
@ -462,7 +462,6 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
{!cv.creator_banned_from_community &&
|
{!cv.creator_banned_from_community &&
|
||||||
cv.creator.local &&
|
|
||||||
(!this.state.showConfirmAppointAsMod ? (
|
(!this.state.showConfirmAppointAsMod ? (
|
||||||
<button
|
<button
|
||||||
class="btn btn-link btn-animate text-muted"
|
class="btn btn-link btn-animate text-muted"
|
||||||
|
|
|
@ -772,8 +772,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
{i18n.t("unban")}
|
{i18n.t("unban")}
|
||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
{!post_view.creator_banned_from_community &&
|
{!post_view.creator_banned_from_community && (
|
||||||
post_view.creator.local && (
|
|
||||||
<button
|
<button
|
||||||
class="btn btn-link btn-animate text-muted py-0"
|
class="btn btn-link btn-animate text-muted py-0"
|
||||||
onClick={linkEvent(this, this.handleAddModToCommunity)}
|
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 */}
|
{/* Community creators and admins can transfer community to another mod */}
|
||||||
{(this.amCommunityCreator || this.canAdmin) &&
|
{(this.amCommunityCreator || this.canAdmin) &&
|
||||||
this.isMod &&
|
this.isMod &&
|
||||||
post_view.creator.local &&
|
|
||||||
(!this.state.showConfirmTransferCommunity ? (
|
(!this.state.showConfirmTransferCommunity ? (
|
||||||
<button
|
<button
|
||||||
class="btn btn-link btn-animate text-muted py-0"
|
class="btn btn-link btn-animate text-muted py-0"
|
||||||
|
|
Loading…
Reference in a new issue