bug
This commit is contained in:
parent
1ca406c9d7
commit
946f8e3257
@ -159,9 +159,10 @@ Template.main.helpers({
|
|||||||
cursor.forEach(function(current) {
|
cursor.forEach(function(current) {
|
||||||
backgroundColor = calendarColors[current.type];
|
backgroundColor = calendarColors[current.type];
|
||||||
title = current.name;
|
title = current.name;
|
||||||
duedate = current.date.toISOString().slice(0,10);
|
duedate = current.dueDate.toISOString().slice(0,10);
|
||||||
donelist.push({start: duedate, title: title, backgroundColor: backgroundColor});
|
donelist.push({start: duedate, title: title, backgroundColor: backgroundColor});
|
||||||
});
|
});
|
||||||
|
console.log(donelist);
|
||||||
return donelist;
|
return donelist;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user