From e1767e4ea42bced3a77debb939c6e0f3fe5f7b1e Mon Sep 17 00:00:00 2001 From: Jenn Mueng <30991498+jennmueng@users.noreply.github.com> Date: Tue, 27 Aug 2024 09:02:32 -0700 Subject: [PATCH] fix(autofix): use new org feature flag in ui (#76584) Use the new org feature flag for autofix in the UI --- static/app/views/issueDetails/resourcesAndPossibleSolutions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/views/issueDetails/resourcesAndPossibleSolutions.tsx b/static/app/views/issueDetails/resourcesAndPossibleSolutions.tsx index 28789e95fbd23b..63b76a6acacd54 100644 --- a/static/app/views/issueDetails/resourcesAndPossibleSolutions.tsx +++ b/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 &&