Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
:)
  • Loading branch information
aslilac committed Jul 26, 2024
commit 21ce3671f68461a81441209b435f73924c9817f3
3 changes: 2 additions & 1 deletion site/src/pages/UsersPage/UsersPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ const UsersPage: FC = () => {
const searchParamsResult = useSearchParams();
const { entitlements, experiments, organizationId } = useDashboard();
const [searchParams] = searchParamsResult;
const isMultiOrg = experiments.includes("multi-organization");
const { multiple_organizations: organizationsEnabled } =
useFeatureVisibility();
const isMultiOrg =
organizationsEnabled && experiments.includes("multi-organization");

const groupsByUserIdQuery = useQuery(groupsByUserId(organizationId));
const authMethodsQuery = useQuery(authMethods());
Expand Down
Loading