Merge branch 'main' of git.targo.ca:Targo/targo_frontend into dev/nicolas/timesheet-approval-staging-prep
This commit is contained in:
commit
097fe9db3c
|
|
@ -48,7 +48,7 @@ export const useEmployeeListApi = () => {
|
||||||
// Build a backend-compatible SchedulePreset instance
|
// Build a backend-compatible SchedulePreset instance
|
||||||
const backend_preset = new SchedulePreset(
|
const backend_preset = new SchedulePreset(
|
||||||
preset.id,
|
preset.id,
|
||||||
preset.name,
|
preset.name,
|
||||||
preset_shifts
|
preset_shifts
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ export class SchedulePresetShift {
|
||||||
start_time: string;
|
start_time: string;
|
||||||
end_time: string;
|
end_time: string;
|
||||||
is_remote: boolean;
|
is_remote: boolean;
|
||||||
|
|
||||||
constructor(weekday: Weekday) {
|
constructor(weekday: Weekday) {
|
||||||
this.preset_id = -1;
|
this.preset_id = -1;
|
||||||
this.week_day = weekday;
|
this.week_day = weekday;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user