parent
a2bdfab9c5
commit
92f26b9f7e
1 changed files with 22 additions and 18 deletions
|
@ -182,24 +182,28 @@ export default function LdapMapperDetails() {
|
||||||
<DropdownItem key="delete" onClick={toggleDeleteDialog}>
|
<DropdownItem key="delete" onClick={toggleDeleteDialog}>
|
||||||
{t("common:delete")}
|
{t("common:delete")}
|
||||||
</DropdownItem>,
|
</DropdownItem>,
|
||||||
mapper?.metadata.fedToKeycloakSyncSupported && (
|
...(mapper?.metadata.fedToKeycloakSyncSupported
|
||||||
<DropdownItem
|
? [
|
||||||
key="fedSync"
|
<DropdownItem
|
||||||
onClick={() => sync("fedToKeycloak")}
|
key="fedSync"
|
||||||
>
|
onClick={() => sync("fedToKeycloak")}
|
||||||
{t("syncLDAPGroupsToKeycloak")}
|
>
|
||||||
</DropdownItem>
|
{t("syncLDAPGroupsToKeycloak")}
|
||||||
),
|
</DropdownItem>,
|
||||||
mapper?.metadata.keycloakToFedSyncSupported && (
|
]
|
||||||
<DropdownItem
|
: []),
|
||||||
key="ldapSync"
|
...(mapper?.metadata.keycloakToFedSyncSupported
|
||||||
onClick={() => {
|
? [
|
||||||
sync("keycloakToFed");
|
<DropdownItem
|
||||||
}}
|
key="ldapSync"
|
||||||
>
|
onClick={() => {
|
||||||
{t("syncKeycloakGroupsToLDAP")}
|
sync("keycloakToFed");
|
||||||
</DropdownItem>
|
}}
|
||||||
),
|
>
|
||||||
|
{t("syncKeycloakGroupsToLDAP")}
|
||||||
|
</DropdownItem>,
|
||||||
|
]
|
||||||
|
: []),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue