mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
fix: fix display bug in SigninTable (#2698)
* fix: fix display bug in SigninTable * fix: fix code bug * feat: improve code format * feat: improve code format
This commit is contained in:
@ -229,10 +229,11 @@ class SigninTable extends React.Component {
|
||||
width: "155px",
|
||||
render: (text, record, index) => {
|
||||
let options = [];
|
||||
if (record.name === "ThirdParty") {
|
||||
if (record.name === "Providers") {
|
||||
options = [
|
||||
{id: "big", name: i18next.t("application:Big icon")},
|
||||
{id: "small", name: i18next.t("application:Small icon")},
|
||||
{id: "Default", name: i18next.t("general:Default")},
|
||||
{id: "Big icon", name: i18next.t("application:Big icon")},
|
||||
{id: "Small icon", name: i18next.t("application:Small icon")},
|
||||
];
|
||||
}
|
||||
if (options.length === 0) {
|
||||
|
Reference in New Issue
Block a user