pr review changes

This commit is contained in:
mfrances 2021-03-10 10:42:31 -05:00
parent e093c15ea2
commit e1678d6113

View file

@ -131,25 +131,22 @@ const LdapSettingsHeader = ({
titleKey="LDAP" titleKey="LDAP"
subKey="" subKey=""
dropdownItems={[ dropdownItems={[
<DropdownItem key="sync" onClick={() => syncChangedUsers()}> <DropdownItem key="sync" onClick={syncChangedUsers}>
{t("syncChangedUsers")} {t("syncChangedUsers")}
</DropdownItem>, </DropdownItem>,
<DropdownItem key="syncall" onClick={() => syncAllUsers()}> <DropdownItem key="syncall" onClick={syncAllUsers}>
{t("syncAllUsers")} {t("syncAllUsers")}
</DropdownItem>, </DropdownItem>,
<DropdownItem key="unlink" onClick={() => unlinkUsers()}> <DropdownItem key="unlink" onClick={unlinkUsers}>
{t("unlinkUsers")} {t("unlinkUsers")}
</DropdownItem>, </DropdownItem>,
<DropdownItem <DropdownItem key="remove" onClick={toggleRemoveUsersDialog}>
key="remove"
onClick={() => toggleRemoveUsersDialog()}
>
{t("removeImported")} {t("removeImported")}
</DropdownItem>, </DropdownItem>,
<DropdownSeparator key="separator" />, <DropdownSeparator key="separator" />,
<DropdownItem <DropdownItem
key="delete" key="delete"
onClick={() => toggleDeleteDialog()} onClick={toggleDeleteDialog}
data-testid="delete-ldap-cmd" data-testid="delete-ldap-cmd"
> >
{t("deleteProvider")} {t("deleteProvider")}