mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -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">
|
<div key="inner" className="inner">
|
||||||
{this.state.session.user ? [
|
{this.state.session.user ? [
|
||||||
<div key="header" className="splash-header">
|
<div key="header" className="splash-header">
|
||||||
{this.state.session.flags.show_welcome ? [
|
{this.shouldShowWelcome() ? [
|
||||||
<Welcome key="welcome" onDismiss={this.handleDismiss.bind(this, 'welcome')}/>
|
<Welcome key="welcome" onDismiss={this.handleDismiss.bind(this, 'welcome')}/>
|
||||||
] : [
|
] : [
|
||||||
<Activity key="activity" items={this.state.activity} />
|
<Activity key="activity" items={this.state.activity} />
|
||||||
|
|
Loading…
Reference in a new issue