added team select in user menu
This commit is contained in:
parent
45ff49bcea
commit
6c5ac2b17c
4 changed files with 52 additions and 0 deletions
|
|
@ -88,6 +88,34 @@ export default function AddComponentManualDialog (props: Props) {
|
|||
/>
|
||||
</Grid2>
|
||||
</Grid2>
|
||||
<Grid2 container direction="row">
|
||||
<Grid2 size={{ xs: 6 }}>
|
||||
<TextField
|
||||
value={component.measurementPeriodMs}
|
||||
type="number"
|
||||
label="Measurement Perios (ms)"
|
||||
fullWidth
|
||||
onChange={event => {
|
||||
let newSettings = pond.ComponentSettings.create(component)
|
||||
newSettings.measurementPeriodMs = or(parseInt(event.currentTarget.value), 0)
|
||||
setComponent(newSettings)
|
||||
}}
|
||||
/>
|
||||
</Grid2>
|
||||
<Grid2 size={{ xs: 6 }}>
|
||||
<TextField
|
||||
value={component.reportPeriodMs}
|
||||
type="number"
|
||||
label="Report Period (ms)"
|
||||
fullWidth
|
||||
onChange={event => {
|
||||
let newSettings = pond.ComponentSettings.create(component)
|
||||
newSettings.reportPeriodMs = or(parseInt(event.currentTarget.value), 0)
|
||||
setComponent(newSettings)
|
||||
}}
|
||||
/>
|
||||
</Grid2>
|
||||
</Grid2>
|
||||
</Grid2>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue