fix: attribute filters on organization member list (#20380)
* fix: attribute filters on organization member list * fix total count * add tests --------- Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
cd952dc93c
commit
88961a1c67
4 files changed
+207
-63
No files matched your search
@@ -305,6 +305,9 @@ function UserListTableContent() {
|
||||
accessorFn: (data) => data.role,
|
||||
header: "Role",
|
||||
size: 100,
|
||||
meta: {
|
||||
filter: { type: ColumnFilterType.MULTI_SELECT },
|
||||
},
|
||||
cell: ({ row, table }) => {
|
||||
const { role, username } = row.original;
|
||||
return (
|
||||
@@ -324,6 +327,9 @@ function UserListTableContent() {
|
||||
accessorFn: (data) => data.teams.map((team) => team.name),
|
||||
header: "Teams",
|
||||
size: 140,
|
||||
meta: {
|
||||
filter: { type: ColumnFilterType.MULTI_SELECT },
|
||||
},
|
||||
cell: ({ row, table }) => {
|
||||
const { teams, accepted, email, username } = row.original;
|
||||
// TODO: Implement click to filter
|
||||
|
||||
Reference in new issue
Block a user