Merge pull request 'fix(timesheet-approval): minor fix to timesheet reload after changes to employee timesheet' (#65) from dev/nicolas/staging-prep into main
Reviewed-on: Targo/targo_frontend#65
This commit is contained in:
commit
05c3f7b7c4
|
|
@ -25,7 +25,7 @@ export const useShiftApi = () => {
|
||||||
const create_success = await shift_store.createNewShifts(employee_email);
|
const create_success = await shift_store.createNewShifts(employee_email);
|
||||||
|
|
||||||
if (create_success || update_success){
|
if (create_success || update_success){
|
||||||
await timesheet_store.getTimesheetsByOptionalEmployeeEmail(auth_store.user?.email ?? '');
|
await timesheet_store.getTimesheetsByOptionalEmployeeEmail(employee_email);
|
||||||
}
|
}
|
||||||
|
|
||||||
timesheet_store.is_loading = false;
|
timesheet_store.is_loading = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user