mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-22 18:25:47 +08:00
feat: add "User type" to user list page
This commit is contained in:
parent
9c46344e68
commit
e926a07c58
@ -318,6 +318,14 @@ class UserListPage extends BaseListPage {
|
||||
return Setting.initCountries().getName(record.region, Setting.getLanguage(), {select: "official"});
|
||||
},
|
||||
},
|
||||
{
|
||||
title: i18next.t("general:User type"),
|
||||
dataIndex: "type",
|
||||
key: "type",
|
||||
width: "120px",
|
||||
sorter: true,
|
||||
...this.getColumnSearchProps("type"),
|
||||
},
|
||||
{
|
||||
title: i18next.t("user:Tag"),
|
||||
dataIndex: "tag",
|
||||
@ -343,7 +351,7 @@ class UserListPage extends BaseListPage {
|
||||
title: i18next.t("user:Is admin"),
|
||||
dataIndex: "isAdmin",
|
||||
key: "isAdmin",
|
||||
width: "110px",
|
||||
width: "120px",
|
||||
sorter: true,
|
||||
render: (text, record, index) => {
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user