10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074c93d commit 72021d1Copy full SHA for 72021d1
site/src/modules/dashboard/DashboardProvider.tsx
@@ -55,9 +55,9 @@ export const DashboardProvider: FC<PropsWithChildren> = ({ children }) => {
55
}
56
57
const hasMultipleOrganizations = organizationsQuery.data.length > 1;
58
- const organizationsEnabled =
59
- experimentsQuery.data.includes("multi-organization") &&
60
- selectFeatureVisibility(entitlementsQuery.data).multiple_organizations;
+ const organizationsEnabled = selectFeatureVisibility(
+ entitlementsQuery.data,
+ ).multiple_organizations;
61
62
return (
63
<DashboardContext.Provider
0 commit comments