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:
DacongDA
2024-02-14 09:26:51 +08:00
committed by GitHub
parent bcfbfc6947
commit d52058d2ae
5 changed files with 14 additions and 10 deletions

View File

@ -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) {