mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 23:05:46 +00:00
fix(FE): delete console log debug
This commit is contained in:
@@ -601,15 +601,15 @@ export function DailyChecklistContent() {
|
||||
) => {
|
||||
const taskId = taskIdsByPhaseActivityId[activityId];
|
||||
|
||||
console.log('[CHECKBOX] Click detected:', {
|
||||
activityId,
|
||||
employeeId,
|
||||
checked,
|
||||
taskId,
|
||||
hasTaskId: !!taskId,
|
||||
checklistStatus,
|
||||
isEditable,
|
||||
});
|
||||
// console.log('[CHECKBOX] Click detected:', {
|
||||
// activityId,
|
||||
// employeeId,
|
||||
// checked,
|
||||
// taskId,
|
||||
// hasTaskId: !!taskId,
|
||||
// checklistStatus,
|
||||
// isEditable,
|
||||
// });
|
||||
|
||||
if (!taskId) {
|
||||
console.error('[CHECKBOX] No taskId found for activityId:', activityId);
|
||||
@@ -638,10 +638,10 @@ export function DailyChecklistContent() {
|
||||
},
|
||||
},
|
||||
};
|
||||
console.log(
|
||||
'[CHECKBOX] State updated optimistically:',
|
||||
updated[taskId]?.[employeeId]
|
||||
);
|
||||
// console.log(
|
||||
// '[CHECKBOX] State updated optimistically:',
|
||||
// updated[taskId]?.[employeeId]
|
||||
// );
|
||||
return updated;
|
||||
});
|
||||
|
||||
@@ -653,7 +653,7 @@ export function DailyChecklistContent() {
|
||||
note: assignments[taskId]?.[employeeId]?.note || null,
|
||||
};
|
||||
|
||||
console.log('[CHECKBOX] Saving to database:', payload);
|
||||
// console.log('[CHECKBOX] Saving to database:', payload);
|
||||
|
||||
const checkOrUncheckAssignmentRes =
|
||||
await DailyChecklistApi.checkOrUncheckAssignment(payload);
|
||||
@@ -679,7 +679,7 @@ export function DailyChecklistContent() {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('[CHECKBOX] Saved successfully');
|
||||
// console.log('[CHECKBOX] Saved successfully');
|
||||
};
|
||||
|
||||
const handleNoteChange = async (
|
||||
|
||||
Reference in New Issue
Block a user