authenticate: update user info dashboard to show group info for enterprise (#3736)

* authenticate: update user info dashboard to show group info for enterprise

* Update ui/src/components/GroupDetails.tsx

Co-authored-by: bobby <1544881+desimone@users.noreply.github.com>

Co-authored-by: bobby <1544881+desimone@users.noreply.github.com>
This commit is contained in:
Caleb Doxsey 2022-11-09 07:44:35 -07:00 committed by GitHub
parent 45ce6f693a
commit 2b319822a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 118 additions and 26 deletions

View file

@ -84,7 +84,10 @@ const UserInfoPage: FC<UserInfoPageProps> = ({ data }) => {
{subpage === "User" && <SessionDetails session={data?.session} />}
{subpage === "Groups Info" && (
<GroupDetails groups={data?.directoryGroups} />
<GroupDetails
isEnterprise={data?.isEnterprise}
groups={data?.directoryGroups}
/>
)}
{subpage === "Devices Info" && (