mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 04:18:35 +02:00
show groups if they exist for user (#2384)
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user