Fix small issues.

This commit is contained in:
Yang Luo
2021-05-23 23:38:38 +08:00
parent 02edb89602
commit 31d981baf1
5 changed files with 12 additions and 4 deletions

View File

@ -187,7 +187,7 @@ class ProviderEditPage extends React.Component {
</Col>
</Row>
</React.Fragment>
) : this.state.provider.category === "Phone" ? (
) : this.state.provider.category === "SMS" ? (
<React.Fragment>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
@ -222,7 +222,7 @@ class ProviderEditPage extends React.Component {
</React.Fragment>
) : null
}
{this.state.provider.category === "Phone" && this.state.provider.type === "tencent" ? (
{this.state.provider.category === "SMS" && this.state.provider.type === "tencent" ? (
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("provider:App ID")}: