From 77cd46b35bbb12b42e81261d30c43c1d89751046 Mon Sep 17 00:00:00 2001 From: Die4Ever <30947252+Die4Ever@users.noreply.github.com> Date: Fri, 16 Feb 2024 09:20:49 -0600 Subject: [PATCH] always show fedilinks (issue #2160) (#2344) * 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> --- src/shared/components/comment/comment-node.tsx | 12 +++++++----- src/shared/components/post/post-listing.tsx | 18 ++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index e49ad4bf..6de8cbe5 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -507,11 +507,13 @@ export class CommentNode extends Component { > - {!cv.comment.local && ( - - - - )} + + + ); } diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index d497d9c1..2ce0df57 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -553,7 +553,7 @@ export class PostListing extends Component { enableDownvotes, } = this.props; const { - post: { local, ap_id, id, body }, + post: { ap_id, id, body }, counts, my_vote, } = this.postView; @@ -570,15 +570,13 @@ export class PostListing extends Component { )} - {!local && ( - - - - )} + + + {mobile && !viewOnly && (