feat: comment in WorkTimeTable
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user