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>
</li>
] : []}
{this.state.session.permissions.student ? [
{this.props.session.permissions.student ? [
<li>
<a href={'/classes/' + this.state.session.user.classroomId + '/'}>
<a href={'/classes/' + this.props.session.user.classroomId + '/'}>
<FormattedMessage id="general.myClass" />
</a>
</li>