mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-05 04:31:03 +02:00
show groups if they exist for user (#2384)
This commit is contained in:
parent
f52d1142eb
commit
99b28643f7
@ -96,7 +96,8 @@ export const IsPublicGroupSelector = <T extends IsPublicGroupSelectorFormType>({
|
||||
)}
|
||||
|
||||
{(!formikProps.values.is_public || isCurator) &&
|
||||
formikProps.values.groups.length > 0 && (
|
||||
userGroups &&
|
||||
userGroups?.length > 0 && (
|
||||
<>
|
||||
<div className="flex mt-4 gap-x-2 items-center">
|
||||
<div className="block font-medium text-base">
|
||||
|
Loading…
x
Reference in New Issue
Block a user