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

[Master] Hotfix: Bind the banner api method to the splash page
This commit is contained in:
Matthew Taylor 2016-08-09 16:58:26 -04:00 committed by GitHub
commit e8543f0745

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;