From 7df003ef74dbbdcdac9047e278a145a974afffb6 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 16 Nov 2018 12:15:44 -0700 Subject: [PATCH] Be more positive in property naming --- src/components/structures/InteractiveAuth.js | 2 +- src/components/views/login/InteractiveAuthEntryComponents.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/structures/InteractiveAuth.js b/src/components/structures/InteractiveAuth.js index 39e015f42e..2883c8cca4 100644 --- a/src/components/structures/InteractiveAuth.js +++ b/src/components/structures/InteractiveAuth.js @@ -203,7 +203,7 @@ export default React.createClass({ fail={this._onAuthStageFailed} setEmailSid={this._setEmailSid} makeRegistrationUrl={this.props.makeRegistrationUrl} - hideContinue={this.props.continueIsManaged} + showContinue={!this.props.continueIsManaged} /> ); }, diff --git a/src/components/views/login/InteractiveAuthEntryComponents.js b/src/components/views/login/InteractiveAuthEntryComponents.js index 6c1d11f82a..73b46959b0 100644 --- a/src/components/views/login/InteractiveAuthEntryComponents.js +++ b/src/components/views/login/InteractiveAuthEntryComponents.js @@ -222,7 +222,7 @@ export const TermsAuthEntry = React.createClass({ stageParams: PropTypes.object.isRequired, errorText: PropTypes.string, busy: PropTypes.bool, - hideContinue: PropTypes.bool, + showContinue: PropTypes.bool, }, componentWillMount: function() { @@ -332,7 +332,7 @@ export const TermsAuthEntry = React.createClass({ } let submitButton; - if (!this.props.hideContinue) { + if (this.props.showContinue !== false) { // XXX: button classes submitButton = ;