no message

This commit is contained in:
StudioTem committed 2023-08-24 16:00:44 +02:00
1 parent 2e346b045b
commit dae6a950da
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 ?: $this->mastertask->attachments),
'files' => AttachmentResource::collection(($this->attachments->isNotEmpty()) ?: $this->mastertask->attachments),
'color' => $this->mastertask->color,
];