CEC-1183/CEC-1201 fleet vehicles forms (#130)
* working fleet vehicles forms * snapshots and api tests
This commit is contained in:
@@ -48,7 +48,6 @@ const MainForm = () => {
|
||||
canbus: { enabled: canbusEnabledEl.current.value === "true" },
|
||||
log_level: logLevelEl.current.value,
|
||||
};
|
||||
|
||||
const result = await addFleet(formData, token);
|
||||
|
||||
setMessage(`Added ${result.name}`);
|
||||
@@ -96,7 +95,7 @@ const MainForm = () => {
|
||||
<TextField
|
||||
id="log-level"
|
||||
name="log-level"
|
||||
label='Log Level (e.g. "debug", "info", "warn", "error", etc.)'
|
||||
label='Log Level (e.g. "trace", "debug", "info", "warn", "error", "critical")'
|
||||
defaultValue="error"
|
||||
variant="outlined"
|
||||
margin="normal"
|
||||
|
||||
Reference in New Issue
Block a user