mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
bugs + CR's
This commit is contained in:
1 parent
9974d8b9e4
commit
bb7b59cc0e
15 files changed
+258
-20
No files matched your search
@@ -59,6 +59,19 @@ export default {
|
||||
// };
|
||||
// });
|
||||
return this.mastertasks.map(event => {
|
||||
// const currentDate = new Date()
|
||||
// const eventDeadline = new Date(event.deadline)
|
||||
|
||||
// const isEventOnCurrentDate =
|
||||
// eventDeadline.getFullYear() === currentDate.getFullYear() &&
|
||||
// eventDeadline.getMonth() === currentDate.getMonth() &&
|
||||
// eventDeadline.getDate() === currentDate.getDate()
|
||||
|
||||
// console.log("isEventOnCurrentDate:", isEventOnCurrentDate)
|
||||
// console.log("eventDeadline:", eventDeadline)
|
||||
|
||||
// const backgroundColor = isEventOnCurrentDate ? 'red' : event.color
|
||||
// console.log("backgroundColor:", backgroundColor)
|
||||
return {
|
||||
id: event.id,
|
||||
title: `${event.project_code} - ${event.name}`,
|
||||
|
||||
Reference in new issue
Block a user