Add RedirectUrls to app.

This commit is contained in:
Yang Luo
2021-03-06 21:41:24 +08:00
parent 9e8bde509a
commit 45ec95b859
4 changed files with 141 additions and 2 deletions

View File

@ -21,6 +21,7 @@ import * as ProviderBackend from "./backend/ProviderBackend";
import * as OrganizationBackend from "./backend/OrganizationBackend";
import Face from "./auth/Face";
import i18next from "i18next";
import UrlTable from "./UrlTable";
const { Option } = Select;
@ -173,6 +174,18 @@ class ApplicationEditPage extends React.Component {
}} />
</Col>
</Row>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("application:Redirect URLs")}:
</Col>
<Col span={22} >
<UrlTable
title="Redirect URLs"
table={this.state.application.redirectUrls}
onUpdateTable={(value) => { this.updateApplicationField('redirectUrls', value)}}
/>
</Col>
</Row>
<Row style={{marginTop: '20px'}} >
<Col style={{marginTop: '5px'}} span={2}>
{i18next.t("application:Enable Password")}: