fixed account ui when not enabled
This commit is contained in:
parent
660a1947cc
commit
9989f944c3
|
@ -52,7 +52,9 @@ class Account extends Component {
|
||||||
|
|
||||||
createElement() {
|
createElement() {
|
||||||
if (!this.enabled) {
|
if (!this.enabled) {
|
||||||
return null;
|
return html`
|
||||||
|
<div></div>
|
||||||
|
`;
|
||||||
}
|
}
|
||||||
const user = this.state.user;
|
const user = this.state.user;
|
||||||
const translate = this.state.translate;
|
const translate = this.state.translate;
|
||||||
|
|
Loading…
Reference in New Issue