feat(z-task-modal): add support for displaying multiple employees in task details with enriched data

This commit is contained in:
Matej Glasnák committed 2025-12-16 17:41:42 +01:00
1 parent 153bd503e6
commit ee2f1eadc7
3 files changed
+128 -44

No files matched your search

@@ -579,6 +579,11 @@ export default {
return employee ? `${employee.name} ${employee.surname}` : '';
},
// Helper: Get enriched employee data by ID
getEnrichedEmployee(employeeId) {
return this.enrichedEmployees.find((emp) => emp.id === employeeId) || {};
},
// Helper: Get valid employees (with id and duration) in create mode
getValidEmployees() {
if (!this.subtask?.employees) return [];