mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-09 02:02:56 +08:00
fix: improve ProviderTable column UI
This commit is contained in:
@@ -118,7 +118,7 @@ class ProviderTable extends React.Component {
|
|||||||
title: i18next.t("user:Country/Region"),
|
title: i18next.t("user:Country/Region"),
|
||||||
dataIndex: "countryCode",
|
dataIndex: "countryCode",
|
||||||
key: "countryCode",
|
key: "countryCode",
|
||||||
width: "80px",
|
width: "140px",
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
if (record.provider?.category !== "SMS") {
|
if (record.provider?.category !== "SMS") {
|
||||||
return null;
|
return null;
|
||||||
@@ -227,7 +227,7 @@ class ProviderTable extends React.Component {
|
|||||||
title: i18next.t("application:Rule"),
|
title: i18next.t("application:Rule"),
|
||||||
dataIndex: "rule",
|
dataIndex: "rule",
|
||||||
key: "rule",
|
key: "rule",
|
||||||
width: "120px",
|
width: "160px",
|
||||||
render: (text, record, index) => {
|
render: (text, record, index) => {
|
||||||
if (record.provider?.type === "Google") {
|
if (record.provider?.type === "Google") {
|
||||||
if (text === "None") {
|
if (text === "None") {
|
||||||
|
Reference in New Issue
Block a user