in src/app/components/activity-author-link.js [29:51]
render() {
const {activity} = this.props;
const author = this.props.user || activity.author;
if (author.isLocked || !author.ringId) {
return (
<span className="aw__author-link">
{author.fullName}
</span>
);
} else {
const cardUser = this.toCardUser(author);
return (
<span className="aw__author-link">
<UserCardTooltip user={cardUser}>
<Link href={cardUser.href}>
{author.fullName}
</Link>
</UserCardTooltip>
</span>
);
}
}