working leantime widget 112
This commit is contained in:
parent
4e2fde52cd
commit
ba9ee7ab23
@ -95,13 +95,16 @@ export function Flow() {
|
||||
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) => {
|
||||
console.log(`Task ${task.id} - Raw data:`, {
|
||||
headline: task.headline,
|
||||
dateToFinish: task.dateToFinish,
|
||||
date: task.date,
|
||||
status: task.status
|
||||
console.log(`Task ${task.id} - ${task.headline}:`, {
|
||||
dateToFinish: task.dateToFinish || 'not set',
|
||||
date: task.date || 'not set',
|
||||
status: task.status,
|
||||
projectName: task.projectName
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user