mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 06:49:35 +00:00
[bugy & CR]
This commit is contained in:
1 parent
4f7847bc1b
commit
88792943e6
20 files changed
+201
-107
No files matched your search
@@ -33,7 +33,32 @@ export default {
|
||||
if (!this.mastertasks)
|
||||
return null
|
||||
|
||||
return this.mastertasks.map(event => {
|
||||
// return this.mastertasks.map(event => {
|
||||
|
||||
// const startOfDay = new Date(event.starts_at);
|
||||
// startOfDay.setHours(0, 0, 0, 0); // Set to 00:00:00.000
|
||||
|
||||
// const endOfDay = new Date(event.deadline);
|
||||
// endOfDay.setHours(23, 59, 59, 999); // Set to 23:59:59.999
|
||||
|
||||
// console.log({
|
||||
// start: startOfDay,
|
||||
// end: endOfDay,
|
||||
// })
|
||||
|
||||
// return {
|
||||
// id: event.id,
|
||||
// title: `${event.project_code} - ${event.name}`,
|
||||
// title_html: `${event.project_code} - <b>${event.name}</b>`,
|
||||
// start: startOfDay,
|
||||
// end: endOfDay,
|
||||
// is_finished: event.is_finished,
|
||||
// project_code: event.project_code,
|
||||
// backgroundColor: `${event.color}`,
|
||||
// borderColor: event.color
|
||||
// };
|
||||
// });
|
||||
return this.mastertasks.map(event => {
|
||||
return {
|
||||
id: event.id,
|
||||
title: `${event.project_code} - ${event.name}`,
|
||||
@@ -94,5 +119,5 @@ export default {
|
||||
|
||||
<style lang="sass" scoped>
|
||||
.non-projects
|
||||
height: 27rem !important
|
||||
height: 100vw !important
|
||||
</style>
|
||||
Reference in new issue
Block a user