mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-22 18:25:47 +08:00
Fix tag field in user list page
This commit is contained in:
parent
ec53616dc8
commit
ffe2330238
@ -325,6 +325,10 @@ class UserListPage extends BaseListPage {
|
||||
sorter: true,
|
||||
...this.getColumnSearchProps("tag"),
|
||||
render: (text, record, index) => {
|
||||
if (this.state.organization?.tags?.length === 0) {
|
||||
return text;
|
||||
}
|
||||
|
||||
const tagMap = {};
|
||||
this.state.organization?.tags?.map((tag, index) => {
|
||||
const tokens = tag.split("|");
|
||||
|
Loading…
x
Reference in New Issue
Block a user