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" />
</Link>
{
{!cv.comment.local && (
<a className={classnames} title={title} href={cv.comment.ap_id}>
<Icon icon="fedilink" classes="icon-inline" />
</a>
}
)}
</>
);
}

View File

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