Using grey color by default for some Semantic elements when no color is provided.

This commit is contained in:
Roland 2022-09-29 14:58:16 -06:00
parent 335ad7ceb0
commit d82b7c12fb
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
6 changed files with 143 additions and 138 deletions

View file

@ -97,6 +97,11 @@ export class Settings extends React.Component {
this.setState({[name]: value});
}
handleQrOpen = async (e) => {
e.preventDefault();
this.setState({qrOpen: true});
}
render() {
if (this.state.ready === false) {
return <Loader active inline='centered'/>
@ -199,7 +204,7 @@ export class Settings extends React.Component {
<Modal closeIcon
onClose={() => this.setState({qrOpen: false})}
onOpen={() => this.setState({qrOpen: true})}
onOpen={this.handleQrOpen}
open={this.state.qrOpen}
trigger={qrButton}
>