Skip to content

Commit 65fcca9

Browse files
authored
fix(autofix): Show autofix even if resources are available (#81089)
Removes an unnecessary check that hid Autofix inside the drawer on errors that contained special resources.
1 parent c9aea9e commit 65fcca9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

static/app/views/issueDetails/streamline/solutionsHubDrawer.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ import type {Group} from 'sentry/types/group';
2727
import type {Organization} from 'sentry/types/organization';
2828
import type {Project} from 'sentry/types/project';
2929
import {getShortEventId} from 'sentry/utils/events';
30-
import {
31-
getConfigForIssueType,
32-
shouldShowCustomErrorResourceConfig,
33-
} from 'sentry/utils/issueTypeConfig';
30+
import {getConfigForIssueType} from 'sentry/utils/issueTypeConfig';
3431
import {getRegionDataFromOrganization} from 'sentry/utils/regions';
3532
import useRouteAnalyticsParams from 'sentry/utils/routeAnalytics/useRouteAnalyticsParams';
3633
import useOrganization from 'sentry/utils/useOrganization';
@@ -169,7 +166,6 @@ export function SolutionsHubDrawer({group, project, event}: SolutionsHubDrawerPr
169166
const displayAiAutofix =
170167
shouldDisplayAiAutofixForOrganization(organization) &&
171168
config.autofix &&
172-
!shouldShowCustomErrorResourceConfig(group, project) &&
173169
hasStacktraceWithFrames(event) &&
174170
!isSampleError;
175171

0 commit comments

Comments
 (0)