no message

This commit is contained in:
StudioTem committed 2023-08-24 15:53:37 +02:00
1 parent 300a1ee66b
commit 2e346b045b
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ class SubTaskResource extends JsonResource
'is_finished' => $this->is_finished, 'is_finished' => $this->is_finished,
'timeblocks' => TimeblockResource::collection($this->timeblocks), 'timeblocks' => TimeblockResource::collection($this->timeblocks),
'timesheets' => TimesheetResource::collection($this->timesheets), 'timesheets' => TimesheetResource::collection($this->timesheets),
'files' => AttachmentResource::collection($this->attachments), 'files' => AttachmentResource::collection($this->attachments ?: $this->mastertask->attachments),
'color' => $this->mastertask->color, 'color' => $this->mastertask->color,
]; ];