Skip to content

Commit eb735e0

Browse files
authored
fix(autofix): Fix starred view for free orgs (#92530)
1 parent 6896704 commit eb735e0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

static/app/views/issueDetails/streamline/sidebar/seerNotices.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,16 @@ export function SeerNotices({groupId, hasGithubIntegration, project}: SeerNotice
139139
const anyStepIncomplete = incompleteSteps > 0;
140140

141141
const handleStarFixabilityView = () => {
142+
let projects: number[] = [];
143+
if (!organization.features.includes('global-views')) {
144+
// org cannot have a view with multiple projects, so we'll just use the current project
145+
projects = [Number(project.id)];
146+
}
142147
createIssueView({
143148
name: 'Easy Fixes 🤖',
144149
query: 'is:unresolved issue.seer_actionability:high',
145150
querySort: IssueSortOptions.DATE,
146-
projects: [],
151+
projects,
147152
environments: [],
148153
timeFilters: {
149154
start: null,

0 commit comments

Comments
 (0)