diff --git a/src/modules/timesheets/composables/use-timesheet-api.ts b/src/modules/timesheets/composables/use-timesheet-api.ts index 4ad48b5..50be89f 100644 --- a/src/modules/timesheets/composables/use-timesheet-api.ts +++ b/src/modules/timesheets/composables/use-timesheet-api.ts @@ -50,9 +50,10 @@ export const useTimesheetApi = () => { if (timesheets !== initialTimesheets) { await shiftStore.updateShifts(employeeEmail); await shiftStore.createNewShifts(employeeEmail); - await timesheetStore.getTimesheetsByOptionalEmployeeEmail(employeeEmail); - await timesheetStore.getPaidTimeOffTotalsWithOptionalEmployeeEmail(employeeEmail); } + + await timesheetStore.getTimesheetsByOptionalEmployeeEmail(employeeEmail); + await timesheetStore.getPaidTimeOffTotalsWithOptionalEmployeeEmail(employeeEmail); timesheetStore.is_loading = false; }