diff --git a/be/app/Http/Resources/SubTaskResource.php b/be/app/Http/Resources/SubTaskResource.php index 6f78154..7f0c9df 100644 --- a/be/app/Http/Resources/SubTaskResource.php +++ b/be/app/Http/Resources/SubTaskResource.php @@ -29,6 +29,7 @@ class SubTaskResource extends JsonResource 'timeblocks' => TimeblockResource::collection($this->timeblocks), 'timesheets' => TimesheetResource::collection($this->timesheets), 'files' => AttachmentResource::collection($this->attachments), + 'color' => $this->mastertask->color, ]; }