mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-22 06:49:35 +00:00
[Blockers] Added blockers in tasks view
This commit is contained in:
1 parent
04c42c2762
commit
6654c32da7
9 files changed
+260
-97
No files matched your search
@@ -57,15 +57,7 @@ export default {
|
||||
|
||||
timelineData() {
|
||||
if (!this.subtasks)
|
||||
return
|
||||
|
||||
// let unscheduledTime = 0
|
||||
// const tasks = [...this._generateNonWorking(), ...this._generateTasks()]
|
||||
|
||||
// tasks.forEach(task => {
|
||||
// if (!task.nonWorking)
|
||||
// workingHours += timelineUtils._getDifferenceInHours(task.end, task.start)
|
||||
// })
|
||||
return
|
||||
|
||||
return {
|
||||
unscheduledTime: 333,
|
||||
@@ -147,7 +139,7 @@ export default {
|
||||
start: setMinutes(setHours(date, 0), 0),
|
||||
end: setMinutes(setHours(date, employee.work_start), 0),
|
||||
split: index + 1,
|
||||
nonWorking: true,
|
||||
type: 'non-working-hours',
|
||||
draggable: false
|
||||
})
|
||||
|
||||
@@ -156,7 +148,7 @@ export default {
|
||||
start: setMinutes(setHours(date, employee.work_end), 0),
|
||||
end: setMinutes(setHours(date, 23), 59),
|
||||
split: index + 1,
|
||||
nonWorking: true,
|
||||
type: 'non-working-hours',
|
||||
draggable: false
|
||||
})
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user