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",
|
||||
label: "Status Code",
|
||||
},
|
||||
{
|
||||
id: "ErrorText",
|
||||
label: "Error Text"
|
||||
},
|
||||
{
|
||||
id: "epoch_usec",
|
||||
label: "Date",
|
||||
@@ -196,6 +200,7 @@ const MainForm = ({ vin }) => {
|
||||
<TableCell>{dtc.ecu_name}</TableCell>
|
||||
<TableCell>{dtc.trouble_code}</TableCell>
|
||||
<TableCell>{dtc.status_byte}</TableCell>
|
||||
<TableCell>{dtc.trouble_code_information?.ErrorText?.Text}</TableCell>
|
||||
<TableCell>{formatDate(dtc.epoch_usec)}</TableCell>
|
||||
</TableRow>
|
||||
))}
|
||||
|
||||
@@ -13,6 +13,7 @@ const DTCTimelineAPI = {
|
||||
ecu,
|
||||
start_time: startDate,
|
||||
end_time: endDate,
|
||||
decode:true,
|
||||
...search,
|
||||
};
|
||||
const url = addQueryParams(`${API_ENDPOINT}/dtcs/${vin}`, queryParams);
|
||||
|
||||
Reference in New Issue
Block a user