Be more positive in property naming
This commit is contained in:
parent
8916c90fed
commit
7df003ef74
2 changed files with 3 additions and 3 deletions
|
@ -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}
|
||||
/>
|
||||
);
|
||||
},
|
||||
|
|
|
@ -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 = <button className="mx_InteractiveAuthEntryComponents_termsSubmit mx_UserSettings_button"
|
||||
onClick={this._trySubmit} disabled={!allChecked}>{_t("Accept")}</button>;
|
||||
|
|
Loading…
Reference in a new issue