mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
feat(z-task-modal): add support for displaying multiple employees in task details with enriched data
This commit is contained in:
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 [];
|
||||
|
||||
Reference in new issue
Block a user