Commit 64930527 authored by Matthew Taylor's avatar Matthew Taylor

Use username, not user id, for profile link

parent 98cccaa5
......@@ -50,7 +50,7 @@ var CommentMessage = injectIntl(React.createClass({
/>;
}
} else if (objectType === 1) {
var profileLink = '/users/' + this.props.objectId + '/#comments-' + this.props.commentId;
var profileLink = '/users/' + this.props.objectTitle + '/#comments-' + this.props.commentId;
var linkText = '';
if (typeof commentee !== 'undefined' && commentee === this.props.user.username) {
// is a profile comment, and is a reply
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment