mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-16 06:33:50 +08:00
Add tableColumns to syncer.
This commit is contained in:
@ -19,6 +19,7 @@ import * as SyncerBackend from "./backend/SyncerBackend";
|
||||
import * as OrganizationBackend from "./backend/OrganizationBackend";
|
||||
import * as Setting from "./Setting";
|
||||
import i18next from "i18next";
|
||||
import SyncerTableColumnTable from "./SyncerTableColumnTable";
|
||||
|
||||
const { Option } = Select;
|
||||
|
||||
@ -177,6 +178,18 @@ class SyncerEditPage extends React.Component {
|
||||
}} />
|
||||
</Col>
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
|
||||
{Setting.getLabel(i18next.t("syncer:Table columns"), i18next.t("syncer:Table columns - Tooltip"))} :
|
||||
</Col>
|
||||
<Col span={22} >
|
||||
<SyncerTableColumnTable
|
||||
title={i18next.t("syncer:Table columns")}
|
||||
table={this.state.syncer.tableColumns}
|
||||
onUpdateTable={(value) => { this.updateSyncerField('tableColumns', value)}}
|
||||
/>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={(Setting.isMobile()) ? 22 : 2}>
|
||||
{Setting.getLabel(i18next.t("syncer:Affiliation table"), i18next.t("syncer:Affiliation table - Tooltip"))} :
|
||||
|
Reference in New Issue
Block a user