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 9ca58ad commit 9abf873Copy full SHA for 9abf873
static/app/views/insights/agentMonitoring/utils/features.tsx
@@ -1,10 +1,5 @@
1
import Feature from 'sentry/components/acl/feature';
2
import {NoAccess} from 'sentry/components/noAccess';
3
-import type {Organization} from 'sentry/types/organization';
4
-
5
-export function hasAgentInsights(organization: Organization) {
6
- return organization.features.includes('agents-insights');
7
-}
8
9
type AgentInsightsFeatureProps = Omit<Parameters<typeof Feature>[0], 'features'>;
10
0 commit comments