mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Restore functionality, which was removed the brainless way (#2725)
This commit is contained in:
committed by
Eugenio Romano
parent
feb0e17656
commit
92ccf36eb4
@@ -67,6 +67,9 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
|
||||
@Input()
|
||||
showHeader: boolean = true;
|
||||
|
||||
@Input()
|
||||
showHeaderContent: boolean = true;
|
||||
|
||||
@Input()
|
||||
showInvolvePeople: boolean = true;
|
||||
|
||||
@@ -320,6 +323,10 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
|
||||
this.loadDetails(taskId);
|
||||
}
|
||||
|
||||
toggleHeaderContent(): void {
|
||||
this.showHeaderContent = !this.showHeaderContent;
|
||||
}
|
||||
|
||||
isCompletedTask(): boolean {
|
||||
return this.taskDetails && this.taskDetails.endDate ? true : undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user