MCPcopy Index your code
hub / github.com/coder/coder / selectFeatureVisibility

Function selectFeatureVisibility

site/src/modules/dashboard/entitlements.ts:26–30  ·  view source on GitHub ↗
(
	entitlements: Entitlements,
)

Source from the content-addressed store, hash-verified

24};
25
26export const selectFeatureVisibility = (
27 entitlements: Entitlements,
28): Record<FeatureName, boolean> => {
29 return getFeatureVisibility(entitlements.has_license, entitlements.features);
30};
31
32/**
33 * Keep the AI seats column visible while in grace period so admins can

Callers 2

DashboardProviderFunction · 0.90
useFeatureVisibilityFunction · 0.90

Calls 1

getFeatureVisibilityFunction · 0.85

Tested by

no test coverage detected