Merge branch 'development' into main

This commit is contained in:
jwu-fisker
2021-06-02 11:37:41 -07:00
22 changed files with 4794 additions and 3414 deletions

View File

@@ -88,7 +88,32 @@ const SendCommand = ({ vins }) => {
}}
onChange={changeCommandHandler}
>
{commands.map((item) => (
{commands.map((item, index) => (
<option key={index} value={item.value}>
{item.label}
</option>
))}
</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>