Skip to content

Commit 77bfc3e

Browse files
committed
✨ fix permissions tip
1 parent 5830719 commit 77bfc3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,8 @@ function ProjectPerformance() {
909909
help: t(
910910
'Controls whether or not Sentry should detect this type of issue.'
911911
),
912-
disabled: !project.access.includes('project:admin'),
913-
disabledReason: t('This action requires project admin access.'),
912+
disabled: !hasAccess,
913+
disabledReason: t('You do not have permission to manage detectors.'),
914914
},
915915
...fieldGroup.fields,
916916
],

0 commit comments

Comments
 (0)