[server links] description

This commit is contained in:
JakubPapso committed 2024-07-02 22:25:29 +02:00
1 parent 1b7315617f
commit 484eca5548
4 files changed
+71 -121

No files matched your search

@@ -298,7 +298,7 @@ export default {
async save() {
if (this.mastertask.id) {
this.mastertask.employees = this.mastertask.employees.map(employee => {
const { duration } = this.mastertask.subtasks.find(({ employee_id }) => employee_id == employee.id)
const { duration } = this.mastertask.subtasks.find(({ employee_id }) => employee_id == employee.id) || {}
employee.duration = duration
return employee
})