mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-23 06:59:02 +00:00
Fix comment fedilink (fixes #594)
This commit is contained in:
parent
ac2b49f904
commit
bf80edd492
|
@ -867,12 +867,11 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
|||
>
|
||||
<Icon icon="link" classes="icon-inline" />
|
||||
</Link>
|
||||
{/* TODO comment ap_ids are currently broken anyway, so use post.ap_id, and wait until comment tree / endpoint refactor */}
|
||||
{!cv.comment.local && (
|
||||
<a className={classnames} title={title} href={cv.post.ap_id}>
|
||||
{
|
||||
<a className={classnames} title={title} href={cv.comment.ap_id}>
|
||||
<Icon icon="fedilink" classes="icon-inline" />
|
||||
</a>
|
||||
)}
|
||||
}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue