Fix fedi link regression (#2324)

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
This commit is contained in:
SleeplessOne1917 2024-01-15 14:37:48 +00:00 committed by GitHub
parent 59308bd7ae
commit 7e0652df45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 5d45389ef4a12489e80b44af4443b29ca6161293 Subproject commit 21b8e8d9d380bef6c39b6b06fc9563d3fedf2ab6

View file

@ -509,11 +509,11 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
> >
<Icon icon="link" classes="icon-inline" /> <Icon icon="link" classes="icon-inline" />
</Link> </Link>
{ {!cv.comment.local && (
<a className={classnames} title={title} href={cv.comment.ap_id}> <a className={classnames} title={title} href={cv.comment.ap_id}>
<Icon icon="fedilink" classes="icon-inline" /> <Icon icon="fedilink" classes="icon-inline" />
</a> </a>
} )}
</> </>
); );
} }

View file

@ -570,7 +570,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<Icon icon="share" inline /> <Icon icon="share" inline />
</button> </button>
)} )}
{local && ( {!local && (
<a <a
className="btn btn-sm btn-link btn-animate text-muted py-0" className="btn btn-sm btn-link btn-animate text-muted py-0"
title={I18NextService.i18n.t("link")} title={I18NextService.i18n.t("link")}