CEC-4883: update api shape and display trex version on fleets (#418)

This commit is contained in:
Tristan Timblin
2023-08-17 14:08:57 -07:00
committed by GitHub
parent 0c05663443
commit f4d021b658
7 changed files with 96 additions and 14 deletions

View File

@@ -34,6 +34,10 @@ const tableColumns = [
id: "vin",
label: "VIN",
},
{
id: "trex_version",
label: "T.REX Version",
},
{
id: "",
label: "Actions",
@@ -204,7 +208,8 @@ const MainForm = ({ name }) => {
}
<Link key={"link" + car.vin} to={`/vehicle-status/${car.vin}`}>{car.vin}</Link>
</TableCell>
<TableCell key={"cell2" + car.vin} align="center">{Actions(car.vin)}</TableCell>
<TableCell key={"cell2" + car.vin} align="center">{car.trex_version}</TableCell>
<TableCell key={"cell3" + car.vin} align="center">{Actions(car.vin)}</TableCell>
</TableRow>
)
))}