Skip to content

Commit e7f0727

Browse files
committed
feat(auto_source): Make derived enhancments section read-only
In #88475 we added the modal but never made it read-only.
1 parent bed3a02 commit e7f0727

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

static/app/views/settings/projectIssueGrouping/index.spec.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,8 @@ describe('projectIssueGrouping', () => {
8787

8888
// Verify the section is visible for superuser
8989
expect(screen.getByText(/Derived Grouping Enhancements/)).toBeInTheDocument();
90+
expect(
91+
screen.getByRole('textbox', {name: /Derived Grouping Enhancements/})
92+
).toBeDisabled();
9093
});
9194
});

static/app/views/settings/projectIssueGrouping/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export default function ProjectIssueGrouping({organization, project, params}: Pr
108108
{...jsonFormProps}
109109
title={t('Derived Grouping Enhancements')}
110110
fields={[fields.derivedGroupingEnhancements]}
111+
disabled
111112
/>
112113
)}
113114
</Form>

0 commit comments

Comments
 (0)