Просмотр исходного кода

fix(autofix): use new org feature flag in ui (#76584)

Use the new org feature flag for autofix in the UI
Jenn Mueng 6 месяцев назад
Родитель
Сommit
e1767e4ea4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      static/app/views/issueDetails/resourcesAndPossibleSolutions.tsx

+ 1 - 1
static/app/views/issueDetails/resourcesAndPossibleSolutions.tsx

@@ -53,7 +53,7 @@ export function ResourcesAndPossibleSolutions({event, project, group}: Props) {
   const isSampleError = useIsSampleEvent();
   // NOTE:  Autofix is for INTERNAL testing only for now.
   const displayAiAutofix =
-    project.features.includes('ai-autofix') &&
+    organization.features.includes('autofix') &&
     organization.features.includes('issue-details-autofix-ui') &&
     !shouldShowCustomErrorResourceConfig(group, project) &&
     config.autofix &&