mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
Merge branch 'main' of bitbucket.org:studiotem/jandl-taskmanager-app
This commit is contained in:
commit
a51cb13a47
2 files changed
+2
-1
No files matched your search
@@ -65,7 +65,7 @@ class SubTaskController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'subtasks' => $subtasks
|
'subtasks' => SubTaskResource::collection($subtasks)
|
||||||
], 200);
|
], 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ class SubTaskResource extends JsonResource
|
|||||||
'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),
|
||||||
|
'color' => $this->mastertask->color,
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user