This commit is contained in:
romankko2 committed 2024-06-28 17:05:45 +02:00
commit ef7ab9dd17
9 files changed
+10 -12

No files matched your search

@@ -43,7 +43,6 @@ export default {
onEmployeeSelected(id) {
const employee = this.enrichedEmployees.find(employee => employee.id == id)
console.log('add employee', employee)
this.mastertask.employees.push(employee)
this.showAddEmployeeInput = false
},
@@ -280,8 +280,6 @@ export default {
return employee
})
console.log('NEW', this.mastertask)
// this.mastertask.project_code = project.code
} else {
this.mastertask = { employees: [], duration: 0, _deadline_time: '17:00' }
@@ -54,7 +54,6 @@ export default {
},
createTask() {
console.log(this.localData.date, this.localData.time, this.localData.employees)
this.$events.emit('show-subtask-modal', {
subtask: {
deadline: this.localData.date,
@@ -71,9 +71,6 @@ export default {
})
})
},
onFocus() {
console.log('focus')
},
updateDate(date) {
const timeblock = { ...this.timeblock }
if (date) timeblock.date = date
@@ -368,7 +368,6 @@ export default {
},
updateSubtask(subtask) {
console.log('UPDATE SUBTASK: ', subtask.timeblocks[0])
this.subtask = subtask
},