Commit e8543f07 authored by Matthew Taylor's avatar Matthew Taylor Committed by GitHub

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

[Master] Hotfix: Bind the banner api method to the splash page
parents 77644aaf 7cb14c17
...@@ -167,7 +167,7 @@ var Splash = injectIntl(React.createClass({ ...@@ -167,7 +167,7 @@ var Splash = injectIntl(React.createClass({
json: {cue: cue, value: false} json: {cue: cue, value: false}
}, function (err) { }, function (err) {
if (!err) this.props.dispatch(sessionActions.refreshSession()); if (!err) this.props.dispatch(sessionActions.refreshSession());
}); }.bind(this));
}, },
shouldShowWelcome: function () { shouldShowWelcome: function () {
if (!this.props.session.session.user || !this.props.session.session.flags.show_welcome) return false; if (!this.props.session.session.user || !this.props.session.session.flags.show_welcome) return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment