feat(timeline): add scheduled time display and calculation across components. Fixed refresh for mastertask, after subtask was updated

This commit is contained in:
Matej Glasnák committed 2025-06-18 17:17:02 +02:00
1 parent 6a550006d9
commit 4917993390
5 files changed
+43 -14

No files matched your search

@@ -102,6 +102,7 @@ export default {
fullname: `${this.filter.employee.name} ${this.filter.employee.surname}`,
initials: this.filter.employee.name.charAt(0).toUpperCase() + this.filter.employee.surname.charAt(0).toUpperCase(),
unscheduledTime: (unscheduledTime / 60).toFixed(1),
scheduledTime: (schedulesCapacityBySplit[i + 1] / 60).toFixed(1),
date: addDays(this.filter.start, i),
isHomeoffice: homeoffice[i] ? true : false,
isWeekend: timelineUtils.isWeekend(addDays(this.filter.start, i))