mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
fix: rename to countryCodes for UI
This commit is contained in:
@ -116,8 +116,8 @@ class ProviderTable extends React.Component {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: i18next.t("user:Country/Region"),
|
title: i18next.t("user:Country/Region"),
|
||||||
dataIndex: "countryCode",
|
dataIndex: "countryCodes",
|
||||||
key: "countryCode",
|
key: "countryCodes",
|
||||||
width: "140px",
|
width: "140px",
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
if (record.provider?.category !== "SMS") {
|
if (record.provider?.category !== "SMS") {
|
||||||
@ -131,7 +131,7 @@ class ProviderTable extends React.Component {
|
|||||||
mode={"multiple"}
|
mode={"multiple"}
|
||||||
initValue={text ? text : ["All"]}
|
initValue={text ? text : ["All"]}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
this.updateField(table, index, "countryCode", value);
|
this.updateField(table, index, "countryCodes", value);
|
||||||
}}
|
}}
|
||||||
countryCodes={this.getUserOrganization()?.countryCodes}
|
countryCodes={this.getUserOrganization()?.countryCodes}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user