From c83f4dde0192eb099cf486c95981f15137ab3d55 Mon Sep 17 00:00:00 2001 From: John Wu <76966357+jwu-fisker@users.noreply.github.com> Date: Fri, 7 Apr 2023 11:36:21 -0700 Subject: [PATCH] CEC-4066 Undo change (#316) --- src/components/DTCTimeline/DTCTimeline/index.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/DTCTimeline/DTCTimeline/index.jsx b/src/components/DTCTimeline/DTCTimeline/index.jsx index 058b347..29eaf5b 100644 --- a/src/components/DTCTimeline/DTCTimeline/index.jsx +++ b/src/components/DTCTimeline/DTCTimeline/index.jsx @@ -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 }) => { {(dtcData || []).map((dtc, index) => ( - {formatDate(dtc.epoch_usec)} {dtc.id} @@ -197,6 +196,7 @@ const MainForm = ({ vin }) => { {dtc.ecu_name} {dtc.trouble_code} {dtc.status_byte} + {formatDate(dtc.epoch_usec)} ))}