Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only try to get the userGroups if EE is enabled #1433

Closed
wants to merge 2 commits into from

Conversation

zotya
Copy link

@zotya zotya commented May 8, 2024

This fix solves the issue described in #1295

Copy link

vercel bot commented May 8, 2024

@zotya is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.

@zotya
Copy link
Author

zotya commented May 8, 2024

Actually the problem was caused by the repeated calls to "/api/manage/admin/user-group", and the value of userGroupsIsLoading was switching between true/false

@Weves
Copy link
Contributor

Weves commented May 18, 2024

fyi @zotya, fixed this in #1474 in a slightly different way (inspired by this PR). Thanks so much for pointing this out + putting this fix together 🙇

@Weves Weves closed this May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants