no message

This commit is contained in:
StudioTem committed 2023-08-24 16:04:16 +02:00
1 parent 5ee2bc640f
commit 3b8250db8f
1 file changed
+1 -1
+1 -1
View File
@@ -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->isNotEmpty() ?: $this->mastertask->attachments),
'files' => AttachmentResource::collection($this->attachments->isNotEmpty() ? $this->attachments : $this->mastertask->attachments),
'color' => $this->mastertask->color,
];