CEC-4066-dtc-error-text (#317)
* CEC-4066-dtc-error-text * resolve comments
This commit is contained in:
@@ -48,6 +48,10 @@ const MainForm = ({ vin }) => {
|
|||||||
id: "status_byte",
|
id: "status_byte",
|
||||||
label: "Status Code",
|
label: "Status Code",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "ErrorText",
|
||||||
|
label: "Error Text"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "epoch_usec",
|
id: "epoch_usec",
|
||||||
label: "Date",
|
label: "Date",
|
||||||
@@ -196,6 +200,7 @@ const MainForm = ({ vin }) => {
|
|||||||
<TableCell>{dtc.ecu_name}</TableCell>
|
<TableCell>{dtc.ecu_name}</TableCell>
|
||||||
<TableCell>{dtc.trouble_code}</TableCell>
|
<TableCell>{dtc.trouble_code}</TableCell>
|
||||||
<TableCell>{dtc.status_byte}</TableCell>
|
<TableCell>{dtc.status_byte}</TableCell>
|
||||||
|
<TableCell>{dtc.trouble_code_information?.ErrorText?.Text}</TableCell>
|
||||||
<TableCell>{formatDate(dtc.epoch_usec)}</TableCell>
|
<TableCell>{formatDate(dtc.epoch_usec)}</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ const DTCTimelineAPI = {
|
|||||||
ecu,
|
ecu,
|
||||||
start_time: startDate,
|
start_time: startDate,
|
||||||
end_time: endDate,
|
end_time: endDate,
|
||||||
|
decode:true,
|
||||||
...search,
|
...search,
|
||||||
};
|
};
|
||||||
const url = addQueryParams(`${API_ENDPOINT}/dtcs/${vin}`, queryParams);
|
const url = addQueryParams(`${API_ENDPOINT}/dtcs/${vin}`, queryParams);
|
||||||
|
|||||||
Reference in New Issue
Block a user