mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4420] TaskHeaderCloud - fix show endDate (#4631)
This commit is contained in:
committed by
Eugenio Romano
parent
e85b57876e
commit
03c9a1e5be
@@ -24,6 +24,7 @@ export class TaskDetailsCloudModel {
|
|||||||
appVersion: string;
|
appVersion: string;
|
||||||
createdDate: Date;
|
createdDate: Date;
|
||||||
claimedDate: Date;
|
claimedDate: Date;
|
||||||
|
completedDate: Date;
|
||||||
formKey: any;
|
formKey: any;
|
||||||
category: any;
|
category: any;
|
||||||
description: string;
|
description: string;
|
||||||
@@ -53,6 +54,7 @@ export class TaskDetailsCloudModel {
|
|||||||
this.appVersion = obj.appVersion || null;
|
this.appVersion = obj.appVersion || null;
|
||||||
this.createdDate = obj.createdDate || null;
|
this.createdDate = obj.createdDate || null;
|
||||||
this.claimedDate = obj.claimedDate || null;
|
this.claimedDate = obj.claimedDate || null;
|
||||||
|
this.completedDate = obj.completedDate || null;
|
||||||
this.formKey = obj.formKey || null;
|
this.formKey = obj.formKey || null;
|
||||||
this.description = obj.description || null;
|
this.description = obj.description || null;
|
||||||
this.dueDate = obj.dueDate || null;
|
this.dueDate = obj.dueDate || null;
|
||||||
|
@@ -156,7 +156,7 @@ export class TaskHeaderCloudComponent implements OnInit {
|
|||||||
new CardViewDateItemModel(
|
new CardViewDateItemModel(
|
||||||
{
|
{
|
||||||
label: 'ADF_CLOUD_TASK_HEADER.PROPERTIES.END_DATE',
|
label: 'ADF_CLOUD_TASK_HEADER.PROPERTIES.END_DATE',
|
||||||
value: '',
|
value: this.taskDetails.completedDate,
|
||||||
format: 'DD-MM-YYYY',
|
format: 'DD-MM-YYYY',
|
||||||
key: 'endDate'
|
key: 'endDate'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user