Merge pull request #821 from mewtaylor/hotfix/gh-673

[Develop] Hotfix: Bind the banner api method to the splash page
This commit is contained in:
Matthew Taylor 2016-08-08 16:39:39 -04:00 committed by GitHub
commit 68042b056b

View file

@ -167,7 +167,7 @@ var Splash = injectIntl(React.createClass({
json: {cue: cue, value: false}
}, function (err) {
if (!err) this.props.dispatch(sessionActions.refreshSession());
});
}.bind(this));
},
shouldShowWelcome: function () {
if (!this.props.session.session.user || !this.props.session.session.flags.show_welcome) return false;