import React from 'react'; import { Tooltip, Icon } from '@grafana/ui'; import { LdapTeam } from 'app/types'; interface Props { teams: LdapTeam[]; showAttributeMapping?: boolean; } export const LdapUserTeams = ({ teams, showAttributeMapping }: Props) => { const items = showAttributeMapping ? teams : teams.filter((item) => item.teamName); return (
LDAP Group | }Organisation | Team | ||
---|---|---|---|---|
{team.groupDN} | {!team.orgName && ( <>
No match
|
>
)}
>
)}
{team.orgName && (
<>
{team.orgName} | {team.teamName} | > )}