Skip to content

Commit

Permalink
fix: rename to countryCodes for UI
Browse files Browse the repository at this point in the history
  • Loading branch information
hsluoyz committed May 1, 2024
1 parent 3a45a4e commit 9eb4b12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/table/ProviderTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ class ProviderTable extends React.Component {
},
{
title: i18next.t("user:Country/Region"),
dataIndex: "countryCode",
key: "countryCode",
dataIndex: "countryCodes",
key: "countryCodes",
width: "140px",
render: (text, record, index) => {
if (record.provider?.category !== "SMS") {
Expand All @@ -131,7 +131,7 @@ class ProviderTable extends React.Component {
mode={"multiple"}
initValue={text ? text : ["All"]}
onChange={(value) => {
this.updateField(table, index, "countryCode", value);
this.updateField(table, index, "countryCodes", value);
}}
countryCodes={this.getUserOrganization()?.countryCodes}
/>
Expand Down

0 comments on commit 9eb4b12

Please sign in to comment.