Skip to content

Commit

Permalink
fix: improve seletRegionBox (#266)
Browse files Browse the repository at this point in the history
Signed-off-by: sh1luo <690898835@qq.com>
  • Loading branch information
sh1luo committed Aug 14, 2021
1 parent c05b27c commit f3c10c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/src/ProviderTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ProviderTable extends React.Component {
}

addRow(table) {
let row = {name: "Please select a provider", canSignUp: false, canSignIn: true, canUnlink: true, alertType: "None"};
let row = {name: "Please select a provider", canSignUp: true, canSignIn: true, canUnlink: true, alertType: "None"};
if (table === undefined) {
table = [];
}
Expand Down
4 changes: 2 additions & 2 deletions web/src/SelectRegionBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class SelectRegionBox extends React.Component {
{
Setting.CountryRegionData.map((item, index) => (
<Option key={index} value={item.name} label={item.name} >
<img src={`${Setting.StaticBaseUrl}/flag-icons/${item.code}.svg`} alt={item.name} height={20} />{" "}
{item.name}
<img src={`${Setting.StaticBaseUrl}/flag-icons/${item.code}.svg`} alt={item.name} height={20} style={{marginRight: 10}}/>
{`${item.name} (${item.code})`}
</Option>
))
}
Expand Down

0 comments on commit f3c10c5

Please sign in to comment.