From 7e4b163aa42874146ea1769d05e4ac6085443b8a Mon Sep 17 00:00:00 2001 From: Nic D Date: Tue, 27 Jan 2026 15:12:55 -0500 Subject: [PATCH] fix(timesheet): attempt to fix issue where employee email is not passed properly --- src/modules/timesheets/components/shift-list-day.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/timesheets/components/shift-list-day.vue b/src/modules/timesheets/components/shift-list-day.vue index b25afb6..fa0573f 100644 --- a/src/modules/timesheets/components/shift-list-day.vue +++ b/src/modules/timesheets/components/shift-list-day.vue @@ -33,7 +33,6 @@ const timesheet_store = useTimesheetStore(); const preset_mouseover = ref(false); const shift_error_message = ref(); - const employeeEmail = inject('employeeEmail'); // ================== Methods ================== @@ -42,7 +41,7 @@ shift.id = 0; emit('deleteUnsavedShift'); } else { - await shift_api.deleteShiftById(shift.id, employeeEmail); + await shift_api.deleteShiftById(shift.id, timesheet_store.current_pay_period_overview?.email ?? undefined); } if (day.shifts.length < 2 && shift_error_message.value !== undefined) {