mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
Fix fedi link regression (#2324)
Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
This commit is contained in:
parent
59308bd7ae
commit
7e0652df45
3 changed files with 4 additions and 4 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 5d45389ef4a12489e80b44af4443b29ca6161293
|
Subproject commit 21b8e8d9d380bef6c39b6b06fc9563d3fedf2ab6
|
|
@ -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>
|
||||||
}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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")}
|
||||||
|
|
Loading…
Reference in a new issue