Skip to content

Commit

Permalink
Fix(config): Force type number on enrichment batch size:
Browse files Browse the repository at this point in the history
  • Loading branch information
arimet committed Nov 27, 2023
1 parent 0f24263 commit 23fb53e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/js/admin/configTenant/ConfigTenantForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,10 @@ export const ConfigTenantForm = ({
<TextField
label="Enrichment Batch Size"
value={enrichmentBatchSize || ''}
type="number"
sx={{ mb: 2 }}
onChange={event => {
setEnrichmentBatchSize(event.target.value);
setEnrichmentBatchSize(Number(event.target.value));
}}
/>
<Box sx={{ mb: 10 }}>
Expand Down

0 comments on commit 23fb53e

Please sign in to comment.