Fix missing options in renderOptions().

This commit is contained in:
Yang Luo
2021-12-24 14:09:12 +08:00
parent efdcb3279d
commit cc8c9b32ef

View File

@ -176,7 +176,9 @@ class ForgetPage extends React.Component {
  {Setting.getMaskedPhone(this.state.phone)}
</Option>
);
} else if (this.state.email !== "") {
}
if (this.state.email !== "") {
options.push(
<Option key={"email"} value={"email"}>
&nbsp;&nbsp;{Setting.getMaskedEmail(this.state.email)}