Fix reference to session

Caused by merging an old branch which didn't have conflicts, but did have a different understanding of session.
This commit is contained in:
Ray Schamp 2016-03-29 18:38:39 -04:00
parent 1c20600272
commit c9157e70b9

View file

@ -268,9 +268,9 @@ var Navigation = React.createClass({
</a> </a>
</li> </li>
] : []} ] : []}
{this.state.session.permissions.student ? [ {this.props.session.permissions.student ? [
<li> <li>
<a href={'/classes/' + this.state.session.user.classroomId + '/'}> <a href={'/classes/' + this.props.session.user.classroomId + '/'}>
<FormattedMessage id="general.myClass" /> <FormattedMessage id="general.myClass" />
</a> </a>
</li> </li>