CEC-247, CEC-261 Manifest and ECU display (#65)

* CEC-261 Add ECU list control

* CEC-261 Update vehicle service mock

* CEC-247 Manifest screens

* Fix test

* Remove dynamic dates from mocks

* Remove timezone from mock dates

* Fix test for date string timezone difference
This commit is contained in:
John Wu
2021-07-16 10:49:10 -07:00
committed by GitHub
parent ab37cd598f
commit 83105fb7ca
26 changed files with 3626 additions and 240 deletions

View File

@@ -22,6 +22,7 @@ import TableHeaderSortable from "../../Table/HeaderSortable";
import SearchField from "../../Controls/SearchField";
import { logger } from "../../../services/monitoring";
import ConnectedIcon from "../../Controls/ConnectedIcon";
import ECUList from "../../Controls/ECUList";
const tableColumns = [
{
@@ -138,6 +139,12 @@ const MainForm = () => {
style={{ marginRight: 5 }}
/>
<Link to={`/vehicle-status/${row.vin}`}>{row.vin}</Link>
{row.ecu_list && (
<>
<br />
<ECUList list={row.ecu_list} search={search} />
</>
)}
</TableCell>
<TableCell align="center">{row.model}</TableCell>
<TableCell align="center">{row.year}</TableCell>