mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-09 18:05:09 +00:00
* always show fedilinks (issue #2160) * fix comment fedilinks title text * fix comment links title text * remove unused local variable --------- Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
This commit is contained in:
parent
1ff4acc049
commit
77cd46b35b
|
@ -507,11 +507,13 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
|||
>
|
||||
<Icon icon="link" classes="icon-inline" />
|
||||
</Link>
|
||||
{!cv.comment.local && (
|
||||
<a className={classnames} title={title} href={cv.comment.ap_id}>
|
||||
<a
|
||||
className={classnames}
|
||||
title={I18NextService.i18n.t("link")}
|
||||
href={cv.comment.ap_id}
|
||||
>
|
||||
<Icon icon="fedilink" classes="icon-inline" />
|
||||
</a>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -553,7 +553,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
enableDownvotes,
|
||||
} = this.props;
|
||||
const {
|
||||
post: { local, ap_id, id, body },
|
||||
post: { ap_id, id, body },
|
||||
counts,
|
||||
my_vote,
|
||||
} = this.postView;
|
||||
|
@ -570,7 +570,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
<Icon icon="share" inline />
|
||||
</button>
|
||||
)}
|
||||
{!local && (
|
||||
<a
|
||||
className="btn btn-sm btn-link btn-animate text-muted py-0"
|
||||
title={I18NextService.i18n.t("link")}
|
||||
|
@ -578,7 +577,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
>
|
||||
<Icon icon="fedilink" inline />
|
||||
</a>
|
||||
)}
|
||||
{mobile && !viewOnly && (
|
||||
<VoteButtonsCompact
|
||||
voteContentType={VoteContentType.Post}
|
||||
|
|
Loading…
Reference in a new issue