mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
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:
parent
1c20600272
commit
c9157e70b9
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue