[ADF-4420] TaskHeaderCloud - fix show endDate (#4631)

This commit is contained in:
Silviu Popa
2019-04-22 03:31:00 +03:00
committed by Eugenio Romano
parent e85b57876e
commit 03c9a1e5be
2 changed files with 3 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ export class TaskDetailsCloudModel {
appVersion: string;
createdDate: Date;
claimedDate: Date;
completedDate: Date;
formKey: any;
category: any;
description: string;
@@ -53,6 +54,7 @@ export class TaskDetailsCloudModel {
this.appVersion = obj.appVersion || null;
this.createdDate = obj.createdDate || null;
this.claimedDate = obj.claimedDate || null;
this.completedDate = obj.completedDate || null;
this.formKey = obj.formKey || null;
this.description = obj.description || null;
this.dueDate = obj.dueDate || null;

View File

@@ -156,7 +156,7 @@ export class TaskHeaderCloudComponent implements OnInit {
new CardViewDateItemModel(
{
label: 'ADF_CLOUD_TASK_HEADER.PROPERTIES.END_DATE',
value: '',
value: this.taskDetails.completedDate,
format: 'DD-MM-YYYY',
key: 'endDate'
}