feat: comment in WorkTimeTable

This commit is contained in:
2024-08-10 04:00:37 +03:00
parent 42208cf540
commit be9c8e604f

View File

@@ -87,7 +87,7 @@ const WorkTimeTable = () => {
return omit(r, omitDays); return omit(r, omitDays);
}) as unknown as EmployeeData[]; }) as unknown as EmployeeData[];
} }
return result as unknown as EmployeeData[]; return (result as unknown as EmployeeData[]).sort((a, b) => a.userId - b.userId);
} }
const optimisticUpdate = (date: Date, userId: number, value: number) => { const optimisticUpdate = (date: Date, userId: number, value: number) => {