CEC-1183/CEC-1201 fleet vehicles forms (#130)

* working fleet vehicles forms

* snapshots and api tests
This commit is contained in:
Drew Taylor
2022-03-22 14:15:49 -07:00
committed by GitHub
parent 4daf171b1e
commit 4af3c70ec7
24 changed files with 2112 additions and 41 deletions

View File

@@ -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"