CEC-4066 Undo change (#316)
This commit is contained in:
@@ -28,10 +28,6 @@ const MainForm = ({ vin }) => {
|
||||
const { setMessage } = useStatusContext();
|
||||
|
||||
const tableColumns = [
|
||||
{
|
||||
id: "epoch_usec",
|
||||
label: "Date",
|
||||
},
|
||||
{
|
||||
id: "id",
|
||||
label: "Id",
|
||||
@@ -52,6 +48,10 @@ const MainForm = ({ vin }) => {
|
||||
id: "status_byte",
|
||||
label: "Status Code",
|
||||
},
|
||||
{
|
||||
id: "epoch_usec",
|
||||
label: "Date",
|
||||
},
|
||||
];
|
||||
|
||||
const handleSort = (_event, property) => {
|
||||
@@ -189,7 +189,6 @@ const MainForm = ({ vin }) => {
|
||||
<TableBody>
|
||||
{(dtcData || []).map((dtc, index) => (
|
||||
<TableRow key={index}>
|
||||
<TableCell>{formatDate(dtc.epoch_usec)}</TableCell>
|
||||
<TableCell component="th" scope="row">
|
||||
{dtc.id}
|
||||
</TableCell>
|
||||
@@ -197,6 +196,7 @@ const MainForm = ({ vin }) => {
|
||||
<TableCell>{dtc.ecu_name}</TableCell>
|
||||
<TableCell>{dtc.trouble_code}</TableCell>
|
||||
<TableCell>{dtc.status_byte}</TableCell>
|
||||
<TableCell>{formatDate(dtc.epoch_usec)}</TableCell>
|
||||
</TableRow>
|
||||
))}
|
||||
</TableBody>
|
||||
|
||||
Reference in New Issue
Block a user