From 4e69fe819ea1c516baaa29f5fd669e3b38ff83c7 Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Fri, 18 Aug 2023 09:03:13 -0700 Subject: [PATCH] IO-2325 Add in Created by from Action menu --- .../jobs-detail-header-actions.component.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx index 4565864f5..54962ea73 100644 --- a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx +++ b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx @@ -239,7 +239,12 @@ export function JobsDetailHeaderActions({ setTimeTicketContext({ actions: {}, - context: { jobId: job.id }, + context: { + jobId: job.id, + created_by: currentUser.displayName + ? currentUser.email.concat(" | ", currentUser.displayName) + : currentUser.email, + }, }); }} >