File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
static/app/views/settings/projectPerformance Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,10 @@ export function ProjectPerformance() {
200200 } ) ;
201201
202202 const hasWebVitalsSeerSuggestions = useHasSeerWebVitalsSuggestions ( project ) ;
203- const hasAIIssueDetection = true ;
203+ const hasAIIssueDetection =
204+ organization . features . includes ( 'gen-ai-features' ) &&
205+ organization . features . includes ( 'ai-issue-detection' ) ;
206+
204207 const {
205208 data : threshold ,
206209 isPending : isPendingThreshold ,
@@ -600,7 +603,7 @@ export function ProjectPerformance() {
600603 [ IssueTitle . AI_DETECTED_GENERAL ] : {
601604 name : DetectorConfigAdmin . AI_ISSUE_DETECTION_ENABLED ,
602605 type : 'boolean' ,
603- label : t ( 'AI Issue Detection' ) ,
606+ label : IssueTitle . AI_DETECTED_GENERAL ,
604607 help : t ( 'Controls whether or not Sentry runs AI issue detection on your traces.' ) ,
605608 defaultValue : true ,
606609 onChange : value => {
You can’t perform that action at this time.
0 commit comments