From 75060a22282f4df26439083ddae7394b473fc27f Mon Sep 17 00:00:00 2001 From: "Nic D." <91558719+Venti-Bear@users.noreply.github.com> Date: Mon, 26 Jan 2026 10:41:24 -0500 Subject: [PATCH] fix(timesheet-approval): minor fix to timesheet reload after changes to employee timesheet was reloading users timesheets instead of employees after update or create --- src/modules/timesheets/composables/use-shift-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/timesheets/composables/use-shift-api.ts b/src/modules/timesheets/composables/use-shift-api.ts index ef1df28..6b6176e 100644 --- a/src/modules/timesheets/composables/use-shift-api.ts +++ b/src/modules/timesheets/composables/use-shift-api.ts @@ -25,7 +25,7 @@ export const useShiftApi = () => { const create_success = await shift_store.createNewShifts(employee_email); if (create_success || update_success){ - await timesheet_store.getTimesheetsByOptionalEmployeeEmail(auth_store.user?.email ?? ''); + await timesheet_store.getTimesheetsByOptionalEmployeeEmail(employee_email); } timesheet_store.is_loading = false;