From 2fdac28b0b3095e38683133b77ae4e169cfb043f Mon Sep 17 00:00:00 2001
From: das31 <31259710+das31@users.noreply.github.com>
Date: Thu, 6 Apr 2023 18:59:03 -0400
Subject: [PATCH] CEC-4066-dtc-trouble-code (#313)
* first push
* remove dtc column
---
src/components/DTCTimeline/DTCTimeline/index.jsx | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/components/DTCTimeline/DTCTimeline/index.jsx b/src/components/DTCTimeline/DTCTimeline/index.jsx
index 2af0b2b..13c0a6c 100644
--- a/src/components/DTCTimeline/DTCTimeline/index.jsx
+++ b/src/components/DTCTimeline/DTCTimeline/index.jsx
@@ -41,8 +41,12 @@ const MainForm = ({ vin }) => {
label: "ECU",
},
{
- id: "dtc",
- label: "DTC",
+ id: "trouble_code",
+ label: "Trouble Code",
+ },
+ {
+ id: "status_byte",
+ label: "Status Code",
},
{
id: "epoch_usec",
@@ -190,7 +194,8 @@ const MainForm = ({ vin }) => {
{dtc.vin}
{dtc.ecu_name}
- {dtc.dtc}
+ {dtc.trouble_code}
+ {dtc.status_byte}
{formatDate(dtc.epoch_usec)}
))}