have tab link go to curator tab

This commit is contained in:
Matthew Taylor 2017-09-05 12:38:16 -04:00
parent 5772eed8f7
commit 432a6240aa

View file

@ -15,6 +15,7 @@ var CuratorInviteMessage = injectIntl(React.createClass({
},
render: function () {
var studioLink = '/studios/' + this.props.studioId + '/';
var tabLink = '/studios/' + this.props.studioId + '/curators/';
var actorLink = '/users/' + this.props.actorUsername + '/';
var tabText = this.props.intl.formatMessage({id: 'messages.curatorTabText'});
@ -37,7 +38,7 @@ var CuratorInviteMessage = injectIntl(React.createClass({
{this.props.actorUsername}
</a>,
studioLink: <a href={studioLink}>{this.props.studioTitle}</a>,
tabLink: <a href={studioLink}>{tabText}</a>
tabLink: <a href={tabLink}>{tabText}</a>
}}
/>
</SocialMessage>