Skip to content

Commit 03b7eb7

Browse files
authored
chore(detectors): Clean up detection settings (#95561)
clean up detection settings for new group type introduced in #94540
1 parent 89d6a7b commit 03b7eb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

static/app/views/settings/projectPerformance/projectPerformance.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ function ProjectPerformance() {
510510
);
511511
},
512512
},
513-
[IssueTitle.DB_QUERY_INJECTION_VULNERABILITY]: {
513+
[IssueTitle.QUERY_INJECTION_VULNERABILITY]: {
514514
name: DetectorConfigAdmin.DB_QUERY_INJECTION_ENABLED,
515515
type: 'boolean',
516516
label: t('Potential Database Query Injection Vulnerability Detection'),
@@ -895,7 +895,7 @@ function ProjectPerformance() {
895895
initiallyCollapsed: issueType !== IssueType.PERFORMANCE_HTTP_OVERHEAD,
896896
},
897897
{
898-
title: IssueTitle.DB_QUERY_INJECTION_VULNERABILITY,
898+
title: IssueTitle.QUERY_INJECTION_VULNERABILITY,
899899
fields: [
900900
{
901901
name: DetectorConfigCustomer.SQL_INJECTION_QUERY_VALUE_LENGTH,
@@ -914,11 +914,11 @@ function ProjectPerformance() {
914914
formatLabel: value => value && value.toString(),
915915
disabledReason,
916916
visible: organization.features.includes(
917-
'issue-db-query-injection-vulnerability-visible'
917+
'issue-query-injection-vulnerability-visible'
918918
),
919919
},
920920
],
921-
initiallyCollapsed: issueType !== IssueType.DB_QUERY_INJECTION_VULNERABILITY,
921+
initiallyCollapsed: issueType !== IssueType.QUERY_INJECTION_VULNERABILITY,
922922
},
923923
];
924924

0 commit comments

Comments
 (0)