working leantime widget 112
This commit is contained in:
parent
4e2fde52cd
commit
ba9ee7ab23
@ -95,13 +95,16 @@ export function Flow() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Debug log to see raw task data
|
// Log the complete first task to see its structure
|
||||||
|
console.log('First task from API:', JSON.stringify(data.tasks[0], null, 2));
|
||||||
|
|
||||||
|
// Log all tasks with their date fields
|
||||||
data.tasks.forEach((task: Task) => {
|
data.tasks.forEach((task: Task) => {
|
||||||
console.log(`Task ${task.id} - Raw data:`, {
|
console.log(`Task ${task.id} - ${task.headline}:`, {
|
||||||
headline: task.headline,
|
dateToFinish: task.dateToFinish || 'not set',
|
||||||
dateToFinish: task.dateToFinish,
|
date: task.date || 'not set',
|
||||||
date: task.date,
|
status: task.status,
|
||||||
status: task.status
|
projectName: task.projectName
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user