fix(timesheet-approval): minor fix to timesheet reload after changes to employee timesheet

was reloading users timesheets instead of employees after update or create
This commit is contained in:
Nic D. 2026-01-26 10:41:24 -05:00
parent 8231b3084d
commit 75060a2228

View File

@ -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;