mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
fix empty team on mastertask
This commit is contained in:
1 parent
aad650519e
commit
0cf30d75e3
1 file changed
+1
-1
@@ -24,7 +24,7 @@ class MasterTaskResource extends JsonResource
|
|||||||
'starts_at' => $this->created_at,
|
'starts_at' => $this->created_at,
|
||||||
'deadline' => $this->deadline,
|
'deadline' => $this->deadline,
|
||||||
'project_code' => $this->project->code,
|
'project_code' => $this->project->code,
|
||||||
'team_id' => $this->team->id,
|
'team_id' => ($this->team) ? $this->team->id : null,
|
||||||
'employees' => UserResource::collection($this->usersOutsideTeam),
|
'employees' => UserResource::collection($this->usersOutsideTeam),
|
||||||
'subtasks' => SubTaskResource::collection($this->subtasks),
|
'subtasks' => SubTaskResource::collection($this->subtasks),
|
||||||
'files' => AttachmentResource::collection($this->attachments),
|
'files' => AttachmentResource::collection($this->attachments),
|
||||||
|
|||||||
Reference in new issue
Block a user