add link for comment to time

This commit is contained in:
igoradamenko
2018-05-12 12:53:18 +03:00
parent 8347cd0d35
commit f65c655a08
2 changed files with 6 additions and 1 deletions
@@ -2,4 +2,9 @@
margin-left: 8px;
vertical-align: middle;
color: #999;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
+1 -1
View File
@@ -259,7 +259,7 @@ export default class Comment extends Component {
isUserIdVisible && <span className="comment__user-id"> ({o.user.id})</span>
}
<span className="comment__time">{o.time}</span>
<a href={`${o.locator.url}#remark__comment-${o.id}`} className="comment__time">{o.time}</a>
{
isAdmin && userBlocked && (