mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-30 00:01:15 +00:00
fix: Restore removed classes
This commit is contained in:
parent
ffb0ffb255
commit
6e6bbb06c0
1 changed files with 8 additions and 11 deletions
|
@ -1101,14 +1101,11 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
{this.canMod_ && (
|
{this.canMod_ && (
|
||||||
<>
|
<>
|
||||||
{!this.creatorIsMod_ &&
|
{!this.creatorIsMod_ &&
|
||||||
(!post_view.creator_banned_from_community ? (
|
(!post_view.creator_banned_from_community
|
||||||
<li>{this.modBanFromCommunityButton}</li>
|
? this.modBanFromCommunityButton
|
||||||
) : (
|
: this.modUnbanFromCommunityButton)}
|
||||||
<li>{this.modUnbanFromCommunityButton}</li>
|
{!post_view.creator_banned_from_community &&
|
||||||
))}
|
this.addModToCommunityButton}
|
||||||
{!post_view.creator_banned_from_community && (
|
|
||||||
<li>{this.addModToCommunityButton}</li>
|
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
@ -1130,13 +1127,13 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<button
|
<button
|
||||||
className="btn btn-link btn-animate text-muted py-0 dropdown-item"
|
className="d-inline-block me-1 btn btn-link btn-animate text-muted py-0 dropdown-item"
|
||||||
aria-label={I18NextService.i18n.t("are_you_sure")}
|
aria-label={I18NextService.i18n.t("are_you_sure")}
|
||||||
>
|
>
|
||||||
{I18NextService.i18n.t("are_you_sure")}
|
{I18NextService.i18n.t("are_you_sure")}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className="btn btn-link btn-animate text-muted py-0 dropdown-item"
|
className="btn btn-link btn-animate text-muted py-0 dropdown-item d-inline-block me-1"
|
||||||
aria-label={I18NextService.i18n.t("yes")}
|
aria-label={I18NextService.i18n.t("yes")}
|
||||||
onClick={linkEvent(this, this.handleTransferCommunity)}
|
onClick={linkEvent(this, this.handleTransferCommunity)}
|
||||||
>
|
>
|
||||||
|
@ -1147,7 +1144,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
className="btn btn-link btn-animate text-muted py-0 dropdown-item"
|
className="btn btn-link btn-animate text-muted py-0 dropdown-item d-inline-block"
|
||||||
onClick={linkEvent(
|
onClick={linkEvent(
|
||||||
this,
|
this,
|
||||||
this.handleCancelShowConfirmTransferCommunity
|
this.handleCancelShowConfirmTransferCommunity
|
||||||
|
|
Loading…
Reference in a new issue