Skip to content

Commit

Permalink
fix(ui-xpansion): move "batch_size" field
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir authored and laurent-laporte-pro committed Sep 28, 2023
1 parent 0eae1cd commit 4feead2
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,16 @@ function SettingsForm(props: PropType) {
}}
optional
/>
<TextField
type="number"
label={t("xpansion.batchSize")}
variant="filled"
value={currentSettings.batch_size || ""}
onChange={(e) =>
handleChange("batch_size", parseInt(e.target.value, 10))
}
sx={{ mb: 1 }}
/>
</SelectFields>
<TextField
type="number"
Expand All @@ -209,16 +219,6 @@ function SettingsForm(props: PropType) {
}
sx={{ mb: 1 }}
/>
<TextField
type="number"
label={t("xpansion.batchSize")}
variant="filled"
value={currentSettings.batch_size || ""}
onChange={(e) =>
handleChange("batch_size", parseInt(e.target.value, 10))
}
sx={{ mb: 1 }}
/>
</Box>
</Box>
<Box>
Expand Down

0 comments on commit 4feead2

Please sign in to comment.