feature/working-hours #42
@@ -48,7 +48,7 @@ export function formatMinuteLabel(minute: number): string {
|
||||
export function emptyWorkingHoursEditorDays(): WorkingHoursEditorDay[] {
|
||||
return WEEKDAY_LABELS.map((_, dayOfWeek) => ({
|
||||
dayOfWeek,
|
||||
isWorking: dayOfWeek <= 4,
|
||||
isWorking: false,
|
||||
shifts: [{ startMinute: 9 * 60, endMinute: 17 * 60 }],
|
||||
}));
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ import { purposeStyle } from '@/components/ui/appointments/appointmentPurposeSty
|
||||
import { AppointmentOverlapPopover } from '@/components/ui/appointments/AppointmentOverlapPopover';
|
||||
import { startOfLocalDay } from '@/components/appointments/appointmentTime';
|
||||
|
||||
const HOUR_PX = 40;
|
||||
const HOUR_PX = 80;
|
||||
const SLOT_PX = (HOUR_PX * SCHEDULE_SLOT_MINUTES) / 60;
|
||||
|
||||
function layoutBlockInRange(
|
||||
|
||||
Reference in New Issue
Block a user