From eee36cc858ae877f993e67a18ac698ab424e50c4 Mon Sep 17 00:00:00 2001 From: Paul Adamsen <117673433+pauladamseniii@users.noreply.github.com> Date: Wed, 18 Jan 2023 15:21:08 -0500 Subject: [PATCH 1/7] CEC-3150 - Track Deployment User (#268) --- .../__snapshots__/CarUpdatesTab.test.jsx.snap | 23 ++++++++++++ .../Contexts/__mocks__/CarUpdatesContext.jsx | 3 ++ .../Controls/CarUpdatesTable/index.jsx | 37 +++++++++++-------- 3 files changed, 48 insertions(+), 15 deletions(-) diff --git a/src/components/Cars/Status/__snapshots__/CarUpdatesTab.test.jsx.snap b/src/components/Cars/Status/__snapshots__/CarUpdatesTab.test.jsx.snap index d3e7afe..62cdde9 100644 --- a/src/components/Cars/Status/__snapshots__/CarUpdatesTab.test.jsx.snap +++ b/src/components/Cars/Status/__snapshots__/CarUpdatesTab.test.jsx.snap @@ -80,6 +80,29 @@ exports[`CarUpdatesTab Render 1`] = ` +
+ + Debug Mask + + : +
Filters: {vehicle.canbus.filters ? vehicle.canbus.filters.length : 0}
+ Debug Mask: {vehicle.debug_mask} +
- Debug Mask + DebugMask :
- Debug Mask: {vehicle.debug_mask} + DebugMask: {vehicle.debug_mask}
+ + DebugMask + + : +
+ + Driver ID + + : + valid-cognito-id-1 +
VIN @@ -11081,4 +11088,4 @@ exports[`App Route /vehicles unauthenticated 1`] = ` -`; \ No newline at end of file +`; diff --git a/src/components/Issues/Info/Details/index.jsx b/src/components/Issues/Info/Details/index.jsx index 307eafc..2e9e81a 100644 --- a/src/components/Issues/Info/Details/index.jsx +++ b/src/components/Issues/Info/Details/index.jsx @@ -44,6 +44,9 @@ const MainForm = ({ id }) => {
ID: {id}
+ Driver ID: {issue.driver_id} +
VIN: {issue.vin}