Fix car command control (#54)

Update dashboard screen
This commit is contained in:
John Wu
2021-06-16 15:56:36 -07:00
committed by GitHub
parent 0f0c0b9044
commit 2078023ad7
3 changed files with 91 additions and 122 deletions

View File

@@ -120,31 +120,6 @@ const SendCommand = ({ vins }) => {
))}
</Select>
</FormControl>
<FormControl className={classes.formControlInline} variant="outlined">
<InputLabel
htmlFor="send-parameter"
style={{ backgroundColor: "White" }}
>
Parameter
</InputLabel>
<Select
native
value={parameter}
variant="outlined"
inputProps={{
name: "send-parameter",
id: "send-parameter",
}}
onChange={changeParametersHandler}
disabled={parameters.length === 0}
>
{parameters.map((item) => (
<option key={item.value} value={item.value}>
{item.label}
</option>
))}
</Select>
</FormControl>
<IconButton
color="primary"
aria-label="send command"