mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Use shouldShowWelcome method to show welcome panel
Fixes GH-153. Again...
This commit is contained in:
parent
b7f795f2d9
commit
399d91fea5
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ var Splash = injectIntl(React.createClass({
|
|||
<div key="inner" className="inner">
|
||||
{this.state.session.user ? [
|
||||
<div key="header" className="splash-header">
|
||||
{this.state.session.flags.show_welcome ? [
|
||||
{this.shouldShowWelcome() ? [
|
||||
<Welcome key="welcome" onDismiss={this.handleDismiss.bind(this, 'welcome')}/>
|
||||
] : [
|
||||
<Activity key="activity" items={this.state.activity} />
|
||||
|
|
Loading…
Reference in a new issue