mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
no message
This commit is contained in:
1 parent
2e346b045b
commit
dae6a950da
1 file changed
+1
-1
@@ -32,7 +32,7 @@ class SubTaskResource extends JsonResource
|
||||
'is_finished' => $this->is_finished,
|
||||
'timeblocks' => TimeblockResource::collection($this->timeblocks),
|
||||
'timesheets' => TimesheetResource::collection($this->timesheets),
|
||||
'files' => AttachmentResource::collection($this->attachments ?: $this->mastertask->attachments),
|
||||
'files' => AttachmentResource::collection(($this->attachments->isNotEmpty()) ?: $this->mastertask->attachments),
|
||||
'color' => $this->mastertask->color,
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user