Showing the comment added when task is reported
This commit is contained in:
parent
65f3376523
commit
43e2aeb097
@ -203,6 +203,10 @@ namespace Marco.Pms.Services.Controllers
|
||||
{
|
||||
task = tasks.FirstOrDefault(t => t.Id == comment.TaskAllocationId);
|
||||
}
|
||||
if (task != null)
|
||||
{
|
||||
comment = comments.OrderBy(c => c.CommentDate).FirstOrDefault(c => c.TaskAllocationId == task.Id);
|
||||
}
|
||||
|
||||
var workItem = workItems.FirstOrDefault(w => w.Id == task?.WorkItemId);
|
||||
var workArea = workAreas.FirstOrDefault(wa => wa.Id == workItem?.WorkAreaId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user