[Password layout changes] [Package upgrades]

This commit is contained in:
2020-04-06 15:21:18 -05:00
parent f88f6b1644
commit ca2a5b0fd0
4 changed files with 20 additions and 19 deletions

View File

@@ -48,7 +48,7 @@ export default class extends Component {
this.props.changed(this.state.password);
this.setState({
...this.state,
button_text: 'clear',
button_text: this.state.password && this.state.password.length > 0 ? 'clear' : 'set',
password2: '',
});
} else {