We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23618c5 commit cb2b331Copy full SHA for cb2b331
static/app/components/modals/reprocessEventModal.tsx
@@ -93,9 +93,10 @@ export function ReprocessingEventModal({
93
label={t('Number of events to be reprocessed')}
94
help={t('If you set a limit, we will reprocess your most recent events.')}
95
placeholder={t('Reprocess all events')}
96
- onChange={(value: any) =>
97
- setMaxEvents(isNaN(value) ? undefined : Number(value))
98
- }
+ onChange={(value: any) => {
+ const num = Number(value);
+ setMaxEvents(value === '' || isNaN(num) ? undefined : num);
99
+ }}
100
min={1}
101
/>
102
0 commit comments