CEC-4926: use new vehicles_count field (#423)
* use new vehicles_count field * fix affected tests
This commit is contained in:
@@ -60,7 +60,7 @@ const MainForm = ({ name }) => {
|
||||
<Grid container className={classes.root} spacing={2}>
|
||||
<Grid item md={12} className={classes.textCenterAlign}>
|
||||
<p><b>Name</b>: {name}</p>
|
||||
<p><b>Vehicles</b>: {fleet.vehicles ? fleet.vehicles.length : 0}</p>
|
||||
<p><b>Vehicles</b>: {fleet.vehicles_count || 0}</p>
|
||||
{fleet.log_level != null && (
|
||||
<p><b>Log Level</b>: {fleet.log_level}</p>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user