add mapper type to table
This commit is contained in:
parent
46c60c1796
commit
75b3b0ebe6
1 changed files with 11 additions and 1 deletions
|
@ -37,7 +37,17 @@ export const LdapMapperList = () => {
|
||||||
parent: id,
|
parent: id,
|
||||||
type: "org.keycloak.storage.ldap.mappers.LDAPStorageMapper",
|
type: "org.keycloak.storage.ldap.mappers.LDAPStorageMapper",
|
||||||
};
|
};
|
||||||
return adminClient.components.find(testParams);
|
|
||||||
|
const mappersList = (await adminClient.components.find(testParams)).map(
|
||||||
|
(mapper) => {
|
||||||
|
return {
|
||||||
|
...mapper,
|
||||||
|
name: mapper.name,
|
||||||
|
type: mapper.providerId,
|
||||||
|
} as ComponentRepresentation;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
return mappersList;
|
||||||
};
|
};
|
||||||
|
|
||||||
const [toggleDeleteDialog, DeleteConfirm] = useConfirmDialog({
|
const [toggleDeleteDialog, DeleteConfirm] = useConfirmDialog({
|
||||||
|
|
Loading…
Reference in a new issue